mirror of
https://github.com/shavitush/bhoptimer.git
synced 2025-12-15 10:08:35 +00:00
another prebuilt zonecache error thing
This commit is contained in:
parent
cd8bbdf850
commit
d50a93db09
@ -839,8 +839,9 @@ public void OnEntityDestroyed(int entity)
|
|||||||
{
|
{
|
||||||
if (entity > MaxClients && entity < 4096 && gI_EntityZone[entity] > -1)
|
if (entity > MaxClients && entity < 4096 && gI_EntityZone[entity] > -1)
|
||||||
{
|
{
|
||||||
KillZoneEntity(gI_EntityZone[entity]);
|
int zone = gI_EntityZone[entity];
|
||||||
ClearZone(gI_EntityZone[entity]);
|
KillZoneEntity(zone);
|
||||||
|
ClearZone(zone);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user