diff options
author | Paul Gilbert | 2014-03-16 17:55:47 -0400 |
---|---|---|
committer | Paul Gilbert | 2014-03-16 17:55:47 -0400 |
commit | e24a4b7b16f5ded50974220d546b2ff0483f99f7 (patch) | |
tree | 6c451a9f53fdd4a5a0ed0c01c3468c5fd7c94bb1 /engines | |
parent | 39a36064ac91ad7864c04dfe4d88c97824f070ae (diff) | |
download | scummvm-rg350-e24a4b7b16f5ded50974220d546b2ff0483f99f7.tar.gz scummvm-rg350-e24a4b7b16f5ded50974220d546b2ff0483f99f7.tar.bz2 scummvm-rg350-e24a4b7b16f5ded50974220d546b2ff0483f99f7.zip |
MADS: Fix for Scene2xx::setPlayerSpritesPrefix
Diffstat (limited to 'engines')
-rw-r--r-- | engines/mads/nebular/nebular_scenes2.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/mads/nebular/nebular_scenes2.cpp b/engines/mads/nebular/nebular_scenes2.cpp index 3eff596484..53e876b216 100644 --- a/engines/mads/nebular/nebular_scenes2.cpp +++ b/engines/mads/nebular/nebular_scenes2.cpp @@ -58,7 +58,7 @@ void Scene2xx::setPlayerSpritesPrefix() { else _game._player._unk4 = -1; - if (oldName == _game._player._spritesPrefix) + if (oldName != _game._player._spritesPrefix) _game._player._spritesChanged = true; if ((_scene->_nextSceneId == 203 || _scene->_nextSceneId == 204) && _globals[34]) @@ -68,6 +68,8 @@ void Scene2xx::setPlayerSpritesPrefix() { _vm->_palette->setEntry(17, 10, 45, 45); } +/*------------------------------------------------------------------------*/ + void Scene201::setup() { setPlayerSpritesPrefix(); setAAName(); |