aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/parallaction/walk.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/parallaction/walk.cpp b/engines/parallaction/walk.cpp
index a4f07f9bfc..fccc9def4f 100644
--- a/engines/parallaction/walk.cpp
+++ b/engines/parallaction/walk.cpp
@@ -644,9 +644,9 @@ void PathWalker_BR::doWalk(State &s) {
}
if (s._fieldC || !s._walkPath.empty()) {
- Common::Point p;
- s._a->getFoot(p);
- checkTrap(p);
+ Common::Point p2;
+ s._a->getFoot(p2);
+ checkTrap(p2);
debugC(3, kDebugWalk, "PathWalker_BR::doWalk, case 1");
return;
}