diff --git a/amxmodx/modules.h b/amxmodx/modules.h index c44c8e60..5441a1b6 100755 --- a/amxmodx/modules.h +++ b/amxmodx/modules.h @@ -84,7 +84,7 @@ const char* GetFileName(AMX *amx); inline cell FloatToCell(float input) { - double output = input; + REAL output = input; return *(cell *)&output; }