aboutsummaryrefslogtreecommitdiff
path: root/engines/mads
diff options
context:
space:
mode:
Diffstat (limited to 'engines/mads')
-rw-r--r--engines/mads/nebular/nebular_scenes2.cpp4
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();