mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-13 21:31:53 +00:00
Fixed warning. (The 'anim' variable shadowed the anim() function.)
svn-id: r31421
This commit is contained in:
parent
6a9acd7a5e
commit
0dcfa7b3df
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user