mirror of
https://github.com/UberGames/ioef.git
synced 2024-11-24 13:11:30 +00:00
Fix out of bounds array index (#4960) patch by Ben Millwood
This commit is contained in:
parent
bd9485f597
commit
b97a7e2583
1 changed files with 1 additions and 1 deletions
|
@ -3509,7 +3509,7 @@ void BotResetLastAvoidReach(int movestate)
|
|||
if (latesttime)
|
||||
{
|
||||
ms->avoidreachtimes[latest] = 0;
|
||||
if (ms->avoidreachtries[i] > 0) ms->avoidreachtries[latest]--;
|
||||
if (ms->avoidreachtries[latest] > 0) ms->avoidreachtries[latest]--;
|
||||
} //end if
|
||||
} //end of the function BotResetLastAvoidReach
|
||||
//===========================================================================
|
||||
|
|
Loading…
Reference in a new issue