diff options
author | Paul Gilbert | 2011-02-16 18:55:14 +1100 |
---|---|---|
committer | Paul Gilbert | 2011-02-16 18:55:14 +1100 |
commit | 772fb6d39570e4cc6989b20fe27ec05b35f2aeb9 (patch) | |
tree | 2da6187534e13e77538d60d7cfb62b93405e14ce /engines | |
parent | 5d619c5bf80a638b9bd62ee0878b3fab14b19514 (diff) | |
download | scummvm-rg350-772fb6d39570e4cc6989b20fe27ec05b35f2aeb9.tar.gz scummvm-rg350-772fb6d39570e4cc6989b20fe27ec05b35f2aeb9.tar.bz2 scummvm-rg350-772fb6d39570e4cc6989b20fe27ec05b35f2aeb9.zip |
TSAGE: Fix another pathfinding bug that was causing infinite loops in some cases
Diffstat (limited to 'engines')
-rw-r--r-- | engines/tsage/core.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/tsage/core.cpp b/engines/tsage/core.cpp index 44af22371a..cd944e5e1b 100644 --- a/engines/tsage/core.cpp +++ b/engines/tsage/core.cpp @@ -907,6 +907,7 @@ int PlayerMover::proc1(int *routeList, int srcRegion, int destRegion, int &v) { } tempList[0] = newIndex; + ++foundIndex; } v = 0; |