diff options
author | Paul Gilbert | 2014-03-13 13:05:12 -0400 |
---|---|---|
committer | Paul Gilbert | 2014-03-13 13:05:12 -0400 |
commit | b2d90ddaab19702495a2dcc84be0de7443739f0b (patch) | |
tree | 38ddd6acd184d5cf74c421b1b6a98d3846e2364e /engines | |
parent | e80373c823215c8d1ac59a6a1a81dc9233b1eb07 (diff) | |
download | scummvm-rg350-b2d90ddaab19702495a2dcc84be0de7443739f0b.tar.gz scummvm-rg350-b2d90ddaab19702495a2dcc84be0de7443739f0b.tar.bz2 scummvm-rg350-b2d90ddaab19702495a2dcc84be0de7443739f0b.zip |
MADS: Fix positioning of foreground sprites
Diffstat (limited to 'engines')
-rw-r--r-- | engines/mads/assets.h | 1 | ||||
-rw-r--r-- | engines/mads/sequence.cpp | 3 |
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/mads/assets.h b/engines/mads/assets.h index b4856605eb..31d46881ff 100644 --- a/engines/mads/assets.h +++ b/engines/mads/assets.h @@ -78,7 +78,6 @@ private: public: SpriteSetCharInfo *_charInfo; int _usageIndex; - Common::Point _pos; public: /** * Constructor diff --git a/engines/mads/sequence.cpp b/engines/mads/sequence.cpp index dfb3d6fbcd..c03ff38c71 100644 --- a/engines/mads/sequence.cpp +++ b/engines/mads/sequence.cpp @@ -184,7 +184,8 @@ void SequenceList::setSpriteSlot(int seqIndex, SpriteSlot &spriteSlot) { if (!timerEntry._nonFixed) { spriteSlot._position = timerEntry._msgPos; } else { - spriteSlot._position = spriteSet._pos; + MSprite *sprite = spriteSet.getFrame(spriteSlot._frameNumber); + spriteSlot._position = sprite->_offset; } } |