mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-10 23:02:01 +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)
|
if (latesttime)
|
||||||
{
|
{
|
||||||
ms->avoidreachtimes[latest] = 0;
|
ms->avoidreachtimes[latest] = 0;
|
||||||
if (ms->avoidreachtries[i] > 0) ms->avoidreachtries[latest]--;
|
if (ms->avoidreachtries[latest] > 0) ms->avoidreachtries[latest]--;
|
||||||
} //end if
|
} //end if
|
||||||
} //end of the function BotResetLastAvoidReach
|
} //end of the function BotResetLastAvoidReach
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
|
Loading…
Reference in a new issue