mirror of
https://github.com/shavitush/bhoptimer.git
synced 2025-12-07 10:28:26 +00:00
fix stale zone cache entries being checked, preventing start/end zone placement sometimes
This commit is contained in:
parent
bb49da4d9c
commit
b468f9d67a
@ -3976,7 +3976,7 @@ bool InStartOrEndZone(float point1[3], float point2[3], int track, int type)
|
||||
FillBoxMinMax(point1, point2, amin, amax);
|
||||
}
|
||||
|
||||
for (int i = 0; i < MAX_ZONES; i++)
|
||||
for (int i = 0; i < gI_MapZones; i++)
|
||||
{
|
||||
if ((gA_ZoneCache[i].iTrack == track && gA_ZoneCache[i].iType == type)
|
||||
|| (gA_ZoneCache[i].iType != Zone_End && gA_ZoneCache[i].iType != Zone_Start))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user