From 06fbff704285460621f17922f7ed2c99409e6561 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Mon, 12 Jun 2006 17:37:09 +0000 Subject: [PATCH] fixed floattocell bug, omg --- amxmodx/modules.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }