diff options
Diffstat (limited to 'engines/mads/animation.cpp')
-rw-r--r-- | engines/mads/animation.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/mads/animation.cpp b/engines/mads/animation.cpp index 783611e3da..b0b69b946a 100644 --- a/engines/mads/animation.cpp +++ b/engines/mads/animation.cpp @@ -403,7 +403,7 @@ void Animation::update() { for (uint idx = 0; idx < scene._spriteSlots.size(); ++idx) { if (scene._spriteSlots[idx]._seqIndex >= 0x80) - scene._spriteSlots[idx]._spriteType = ST_EXPIRED; + scene._spriteSlots[idx]._SlotType = ST_EXPIRED; } // Validate the current frame @@ -445,7 +445,7 @@ void Animation::update() { if (paChanged) { newIndex = scene._spriteSlots.add(); scene._spriteSlots[newIndex]._seqIndex = -1; - scene._spriteSlots[newIndex]._spriteType = ST_FULL_SCREEN_REFRESH; + scene._spriteSlots[newIndex]._SlotType = ST_FULL_SCREEN_REFRESH; } // Main frame animation loop - frames get animated by being placed, as necessary, into the @@ -463,7 +463,7 @@ void Animation::update() { int seqIndex = _frameEntries[_oldFrameEntry]._seqIndex - scene._spriteSlots[index]._seqIndex; if (seqIndex == 0x80) { if (scene._spriteSlots[index] == _frameEntries[_oldFrameEntry]._spriteSlot) { - scene._spriteSlots[index]._spriteType = ST_NONE; + scene._spriteSlots[index]._SlotType = ST_NONE; spriteSlotIndex = -1; } } @@ -479,7 +479,7 @@ void Animation::update() { SpriteAsset &spriteSet = *scene._sprites[ scene._spriteSlots[slotIndex]._spritesIndex]; - slot._spriteType = spriteSet.isBackground() ? ST_BACKGROUND : ST_FOREGROUND; + slot._SlotType = spriteSet.isBackground() ? ST_BACKGROUND : ST_FOREGROUND; } break; } |