mirror of
https://github.com/yquake2/rogue.git
synced 2024-11-10 06:42:21 +00:00
Use matching strtof(9 instead of atof().
This saves one cast. This was reported by maraakate in yquake2 issue 160.
This commit is contained in:
parent
b16293c01b
commit
fbf505834f
1 changed files with 1 additions and 1 deletions
|
@ -821,7 +821,7 @@ SP_trigger_gravity(edict_t *self)
|
|||
|
||||
InitTrigger(self);
|
||||
|
||||
self->gravity = atof(st.gravity);
|
||||
self->gravity = strtof(st.gravity, (char **)NULL);
|
||||
|
||||
if (self->spawnflags & 1) /* TOGGLE */
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue