mirror of
https://github.com/nzp-team/quakec.git
synced 2024-11-21 19:32:21 +00:00
SERVER: Fix call to PF_FindFloat with value of 0
This commit is contained in:
parent
f0b3b93e5e
commit
36fe639248
1 changed files with 1 additions and 1 deletions
|
@ -1501,7 +1501,7 @@ void() Zombie_ReassignSpawnIDs =
|
|||
// First, clear the list.
|
||||
zombie_spawn_points = 0;
|
||||
|
||||
while(num_spawns > -1) {
|
||||
while(num_spawns > 0) {
|
||||
entity zombie_spawn = findfloat(world, spawn_id, num_spawns);
|
||||
if (zombie_spawn) {
|
||||
zombie_spawn.spawn_id = 0;
|
||||
|
|
Loading…
Reference in a new issue