From 0dcfa7b3dfd2d41f3e6304606340bfd858e908b8 Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Sun, 6 Apr 2008 12:17:41 +0000 Subject: Fixed warning. (The 'anim' variable shadowed the anim() function.) svn-id: r31421 --- engines/lure/hotspots.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'engines/lure') 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) -- cgit v1.2.3