foxygit / doom Log in
commit bbefecc2580b07f0ba07c8a86dddad5ac9c45d44
Author:     David Carlier <devnexen@gmail.com>
AuthorDate: Sun Oct 21 07:12:39 2018 +0100
Commit:     David Carlier <devnexen@gmail.com>
CommitDate: Sun Oct 21 07:12:39 2018 +0100

    Update angle_t type.

    Typically to avoid few overflows.
---
 src/tables.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/tables.h b/src/tables.h
index 495fd534..f72406da 100644
--- a/src/tables.h
+++ b/src/tables.h
@@ -78,7 +78,7 @@ extern const byte gammatable[5][256];
 #define SLOPEBITS		11
 #define DBITS			(FRACBITS-SLOPEBITS)

-typedef unsigned angle_t;
+typedef unsigned int angle_t;


 // Effective size is 2049;