From 289d18ed070765de3d392acf92d2d5dbfbc33dbd Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Wed, 30 Jan 2008 23:09:18 +0000 Subject: Fix shadowing warning svn-id: r30710 --- engines/parallaction/exec_ns.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/parallaction/exec_ns.cpp') diff --git a/engines/parallaction/exec_ns.cpp b/engines/parallaction/exec_ns.cpp index b2bc80e84c..6765da72c1 100644 --- a/engines/parallaction/exec_ns.cpp +++ b/engines/parallaction/exec_ns.cpp @@ -627,9 +627,9 @@ Zone *Parallaction::hitZone(uint32 type, uint16 x, uint16 y) { int16 _a, _b, _c, _d, _e, _f; - for (AnimationList::iterator it = _animations.begin(); it != _animations.end(); it++) { + for (AnimationList::iterator ait = _animations.begin(); ait != _animations.end(); ait++) { - Animation *a = *it; + Animation *a = *ait; _a = (a->_flags & kFlagsActive) ? 1 : 0; // _a: active Animation _e = ((_si >= a->_left + a->width()) || (_si <= a->_left)) ? 0 : 1; // _e: horizontal range -- cgit v1.2.3