From 772fb6d39570e4cc6989b20fe27ec05b35f2aeb9 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Wed, 16 Feb 2011 18:55:14 +1100 Subject: TSAGE: Fix another pathfinding bug that was causing infinite loops in some cases --- engines/tsage/core.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'engines') 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; -- cgit v1.2.3