1
0
mirror of https://github.com/JezuzLizard/BO2-Reimagined.git synced 2025-06-14 00:58:00 -05:00

Change disable_zombie_spawn_locations

This commit is contained in:
Jbleezy
2023-03-16 15:26:09 -07:00
parent 97c77dc28d
commit 34f744c228
3 changed files with 41 additions and 47 deletions

View File

@ -405,8 +405,8 @@
* Fixed a zombie pathing exploit at Town in Bookstore * Fixed a zombie pathing exploit at Town in Bookstore
#### Bus Depot #### Bus Depot
* Added Grief game mode
* Lava in starting area activates immediately * Lava in starting area activates immediately
* Power doors open when door is opened
* Lava pit is accessible * Lava pit is accessible
#### Diner #### Diner

View File

@ -216,10 +216,7 @@ disable_zombie_spawn_locations()
{ {
for ( z = 0; z < level.zone_keys.size; z++ ) for ( z = 0; z < level.zone_keys.size; z++ )
{ {
zone_name = level.zone_keys[z]; zone = level.zones[ level.zone_keys[ z ] ];
if(zone_name == "zone_amb_cornfield")
{
zone = level.zones[ zone_name ];
i = 0; i = 0;
while ( i < zone.spawn_locations.size ) while ( i < zone.spawn_locations.size )
@ -233,4 +230,3 @@ disable_zombie_spawn_locations()
} }
} }
} }
}

View File

@ -81,8 +81,7 @@ disable_zombie_spawn_locations()
for ( z = 0; z < level.zone_keys.size; z++ ) for ( z = 0; z < level.zone_keys.size; z++ )
{ {
zone = level.zones[ level.zone_keys[ z ] ]; zone = level.zones[ level.zone_keys[ z ] ];
if(zone == "zone_amb_tunnel")
{
i = 0; i = 0;
while ( i < zone.spawn_locations.size ) while ( i < zone.spawn_locations.size )
{ {
@ -119,4 +118,3 @@ disable_zombie_spawn_locations()
} }
} }
} }
}