diff options
author | Paul Gilbert | 2014-06-07 17:34:57 -0400 |
---|---|---|
committer | Paul Gilbert | 2014-06-07 17:34:57 -0400 |
commit | 977513581138916924558cf202076e0222e2688d (patch) | |
tree | 17a986b278a0488ca54fe3ec1b3037cbe94495cf | |
parent | 9c52f7399fb86b40608ad81f95dda7b7b5988a6b (diff) | |
download | scummvm-rg350-977513581138916924558cf202076e0222e2688d.tar.gz scummvm-rg350-977513581138916924558cf202076e0222e2688d.tar.bz2 scummvm-rg350-977513581138916924558cf202076e0222e2688d.zip |
MADS: Fix incorrect frame usage for spinning inventory items
-rw-r--r-- | engines/mads/user_interface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mads/user_interface.cpp b/engines/mads/user_interface.cpp index fed6f78602..1f8d5037bc 100644 --- a/engines/mads/user_interface.cpp +++ b/engines/mads/user_interface.cpp @@ -154,7 +154,7 @@ void UISlots::draw(bool updateFlag, bool delFlag) { bool flipped = slot._frameNumber < 0; if (slot._segmentId == IMG_SPINNING_OBJECT) { - MSprite *sprite = asset->getFrame(frameNumber); + MSprite *sprite = asset->getFrame(frameNumber - 1); sprite->copyTo(&userInterface, slot._position, sprite->getTransparencyIndex()); } else { |