mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2025-08-03 04:39:37 +03:00
fixed pcvar bug (thanks niluje)
This commit is contained in:
parent
d4bfddc034
commit
bce69e7116
1 changed files with 3 additions and 1 deletions
|
@ -1556,7 +1556,9 @@ static cell AMX_NATIVE_CALL get_pcvar_float(AMX *amx, cell *params)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
return amx_ftoc(ptr->value);
|
REAL val = (REAL)ptr->value;
|
||||||
|
|
||||||
|
return amx_ftoc(val);
|
||||||
}
|
}
|
||||||
|
|
||||||
static cell AMX_NATIVE_CALL get_cvar_float(AMX *amx, cell *params) /* 1 param */
|
static cell AMX_NATIVE_CALL get_cvar_float(AMX *amx, cell *params) /* 1 param */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue