diff --git a/code/__HELPERS/#maths.dm b/code/__HELPERS/#maths.dm index 6e4e1707b3dd..825090bc4f3b 100644 --- a/code/__HELPERS/#maths.dm +++ b/code/__HELPERS/#maths.dm @@ -8,7 +8,7 @@ GLOBAL_LIST_INIT(sqrtTable, list(1, 1, 1, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 4, // MATH DEFINES -#define Ceiling(x) (-round(-x)) +#define Ceiling(x) (-round(-(x))) #define CLAMP01(x) (clamp(x, 0, 1)) // cotangent