diff options
-rw-r--r-- | engines/parallaction/exec_ns.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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 |