diff --git a/amxmodx/float.cpp b/amxmodx/float.cpp index 4219dc72..2a4d77be 100755 --- a/amxmodx/float.cpp +++ b/amxmodx/float.cpp @@ -21,6 +21,12 @@ #include /* for NULL */ #include #include + +// this file does not include amxmodx.h, so we have to include the memory manager here +#ifdef MEMORY_TEST +#include "mmgr/mmgr.h" +#endif // MEMORY_TEST + #include "amx.h" /* @@ -29,14 +35,6 @@ #endif */ -#if SMALL_CELL_SIZE==32 - #define REAL float -#elif SMALL_CELL_SIZE==64 - #define REAL double -#else - #error Unsupported cell size -#endif - #define PI 3.1415926535897932384626433832795 #if defined __BORLANDC__ || defined __WATCOMC__