aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorNicola Mettifogo2009-02-24 15:21:53 +0000
committerNicola Mettifogo2009-02-24 15:21:53 +0000
commitb3d2429b04a9afdf8af6af91e251b6bee96404e7 (patch)
treeb9c94be2ae8497d3894bb7b64d76216e34f0b6f8 /engines
parentcda5d6989bc568f0428aa23d14a9bd8c2af6b254 (diff)
downloadscummvm-rg350-b3d2429b04a9afdf8af6af91e251b6bee96404e7.tar.gz
scummvm-rg350-b3d2429b04a9afdf8af6af91e251b6bee96404e7.tar.bz2
scummvm-rg350-b3d2429b04a9afdf8af6af91e251b6bee96404e7.zip
Fixed shadowed name.
svn-id: r38841
Diffstat (limited to 'engines')
-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;
}