[Scummvm-git-logs] scummvm master -> 98620a45c4df6ef459794a6294f3cedbec85b3b2

sev- sev at scummvm.org
Mon Mar 19 19:51:44 CET 2018


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
98620a45c4 BLADERUNNER: Fix bug with path generator in GenericWalkerA actor


Commit: 98620a45c4df6ef459794a6294f3cedbec85b3b2
    https://github.com/scummvm/scummvm/commit/98620a45c4df6ef459794a6294f3cedbec85b3b2
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2018-03-19T19:51:11+01:00

Commit Message:
BLADERUNNER: Fix bug with path generator in GenericWalkerA actor

Changed paths:
    engines/bladerunner/script/ai/generic_walker_a.cpp


diff --git a/engines/bladerunner/script/ai/generic_walker_a.cpp b/engines/bladerunner/script/ai/generic_walker_a.cpp
index 7acea89..84f7feb 100644
--- a/engines/bladerunner/script/ai/generic_walker_a.cpp
+++ b/engines/bladerunner/script/ai/generic_walker_a.cpp
@@ -459,7 +459,7 @@ bool AIScriptGenericWalkerA::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);





More information about the Scummvm-git-logs mailing list