mirror of
https://github.com/ENSL/NS.git
synced 2024-11-10 07:11:38 +00:00
fix ns_cvar_float returning int
This commit is contained in:
parent
ca5246501b
commit
e85d296092
1 changed files with 1 additions and 1 deletions
|
@ -1882,6 +1882,6 @@ float ns_cvar_float(const cvar_t *cvar)
|
||||||
{
|
{
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
return atoi(cvar->string);
|
return atof(cvar->string);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue