mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2025-01-13 23:28:04 +03:00
Fix wrong predicting vc++ 2019 compiler
This commit is contained in:
parent
3878f46678
commit
c56f00f7ed
@ -695,7 +695,7 @@ bool NavAreaBuildPath(CNavArea *startArea, CNavArea *goalArea, const Vector *goa
|
||||
{
|
||||
dir++;
|
||||
|
||||
if (dir == NUM_DIRECTIONS)
|
||||
if (dir >= NUM_DIRECTIONS)
|
||||
{
|
||||
// checked all directions on floor - check ladders next
|
||||
searchFloor = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user