aboutsummaryrefslogtreecommitdiff
path: root/engines/lure
diff options
context:
space:
mode:
authorTorbjörn Andersson2008-04-06 12:17:41 +0000
committerTorbjörn Andersson2008-04-06 12:17:41 +0000
commit0dcfa7b3dfd2d41f3e6304606340bfd858e908b8 (patch)
tree985ac9592fecd0710c1ced86e5cb482b1a605b5a /engines/lure
parent6a9acd7a5e526f06e5fc0757335cd5b09ce34e3c (diff)
downloadscummvm-rg350-0dcfa7b3dfd2d41f3e6304606340bfd858e908b8.tar.gz
scummvm-rg350-0dcfa7b3dfd2d41f3e6304606340bfd858e908b8.tar.bz2
scummvm-rg350-0dcfa7b3dfd2d41f3e6304606340bfd858e908b8.zip
Fixed warning. (The 'anim' variable shadowed the anim() function.)
svn-id: r31421
Diffstat (limited to 'engines/lure')
-rw-r--r--engines/lure/hotspots.cpp6
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)