mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-26 06:45:37 +03:00
fixed floattocell bug, omg
This commit is contained in:
parent
bb609123fb
commit
06fbff7042
@ -84,7 +84,7 @@ const char* GetFileName(AMX *amx);
|
|||||||
|
|
||||||
inline cell FloatToCell(float input)
|
inline cell FloatToCell(float input)
|
||||||
{
|
{
|
||||||
double output = input;
|
REAL output = input;
|
||||||
return *(cell *)&output;
|
return *(cell *)&output;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user