1
0
mirror of https://github.com/JezuzLizard/BO2-Reimagined.git synced 2025-07-02 01:50:06 -05:00

Tranzit: fix zombie riser being too high above ground

This commit is contained in:
Jbleezy
2022-01-17 07:44:19 -08:00
parent a905f4c8d4
commit d0d11f4fbf
4 changed files with 24 additions and 12 deletions

View File

@ -31,7 +31,7 @@ init()
level.grenade_safe_to_bounce = ::grenade_safe_to_bounce;
screecher_spawner_changes();
zombie_spawn_location_changes();
path_exploit_fixes();
level thread power_local_electric_doors_globally();
@ -145,6 +145,25 @@ grenade_safe_to_bounce( player, weapname )
return 1;
}
zombie_spawn_location_changes()
{
for ( z = 0; z < level.zone_keys.size; z++ )
{
zone = level.zones[ level.zone_keys[ z ] ];
i = 0;
while ( i < zone.spawn_locations.size )
{
if ( zone.spawn_locations[ i ].origin == ( 9963, 8025, -554.9 ) )
{
zone.spawn_locations[ i ].origin += ( 0, 0, -32 );
}
i++;
}
}
}
path_exploit_fixes()
{
// town bookstore near jug