mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2025-06-14 14:52:07 +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++;
|
dir++;
|
||||||
|
|
||||||
if (dir == NUM_DIRECTIONS)
|
if (dir >= NUM_DIRECTIONS)
|
||||||
{
|
{
|
||||||
// checked all directions on floor - check ladders next
|
// checked all directions on floor - check ladders next
|
||||||
searchFloor = false;
|
searchFloor = false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user