mirror of
https://github.com/nzp-team/quakec.git
synced 2024-11-24 21:02:14 +00:00
SERVER: Further mitigate PF_findfloat errors
This commit is contained in:
parent
96b08dcaba
commit
997d6748e9
1 changed files with 3 additions and 1 deletions
|
@ -1507,7 +1507,9 @@ void() Zombie_ReassignSpawnIDs =
|
|||
zombie_spawn.spawn_id = 0;
|
||||
}
|
||||
num_spawns--;
|
||||
zombie_spawn = findfloat(world, spawn_id, num_spawns);
|
||||
|
||||
if (num_spawns)
|
||||
zombie_spawn = findfloat(world, spawn_id, num_spawns);
|
||||
}
|
||||
|
||||
// Now do the re-assignment
|
||||
|
|
Loading…
Reference in a new issue