diff options
Diffstat (limited to 'engines/lure')
-rw-r--r-- | engines/lure/hotspots.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/lure/hotspots.cpp b/engines/lure/hotspots.cpp index ba9f9362ff..ba39c13aa5 100644 --- a/engines/lure/hotspots.cpp +++ b/engines/lure/hotspots.cpp @@ -224,10 +224,10 @@ void Hotspot::setAnimationIndex(int animIndex) { Resources &r = Resources::getReference(); // Get the animation specified - HotspotAnimList::iterator anim = r.animRecords().begin(); + HotspotAnimList::iterator a = r.animRecords().begin(); for (int i = 0; i < animIndex; i++) - ++anim; - HotspotAnimData *tempAnim = (*anim).get(); + ++a; + HotspotAnimData *tempAnim = (*a).get(); _animId = tempAnim->animRecordId; if (_data) |