diff options
Diffstat (limited to 'engines/bladerunner/script/ai/generic_walker_c.cpp')
-rw-r--r-- | engines/bladerunner/script/ai/generic_walker_c.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/bladerunner/script/ai/generic_walker_c.cpp b/engines/bladerunner/script/ai/generic_walker_c.cpp index f317d5ad49..6979be8e1f 100644 --- a/engines/bladerunner/script/ai/generic_walker_c.cpp +++ b/engines/bladerunner/script/ai/generic_walker_c.cpp @@ -438,7 +438,7 @@ bool AIScriptGenericWalkerC::preparePath() { int waypointEnd = 0; do { waypointStart = Random_Query(167, 171); - } while (waypointEnd == 168 || waypointEnd == 169); + } while (waypointStart == 168 || waypointStart == 169); do { waypointEnd = Random_Query(167, 171); } while (waypointEnd == waypointStart || waypointEnd == 168 || waypointEnd == 169); |