This commit is contained in:
s1lentq 2025-04-04 08:24:33 +07:00
parent a4d74392f0
commit f3d8d1b5fd
2 changed files with 4 additions and 4 deletions

View File

@ -941,7 +941,7 @@ void CCSBot::RemovePath(CNavArea *area)
void CCSBot::RemoveHidingSpot(HidingSpot *spot)
{
int i = 0;
while (i < m_pathLength)
while (i < m_checkedHidingSpotCount)
{
if (m_checkedHidingSpot[i].spot == spot)
{