aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2014-05-31 11:27:14 -0400
committerPaul Gilbert2014-05-31 11:27:14 -0400
commit283db7d769eb4cdd2014bd09132e7b06d17e2f4c (patch)
treef97345c87e8b19675413a8417709f8149a91db6b
parent0722e84e3f3ba9871b7e7c923fc7d77a1299a302 (diff)
downloadscummvm-rg350-283db7d769eb4cdd2014bd09132e7b06d17e2f4c.tar.gz
scummvm-rg350-283db7d769eb4cdd2014bd09132e7b06d17e2f4c.tar.bz2
scummvm-rg350-283db7d769eb4cdd2014bd09132e7b06d17e2f4c.zip
MADS: Fix starting to talk to doctor in scene 318
-rw-r--r--engines/mads/player.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/mads/player.cpp b/engines/mads/player.cpp
index ed585cf636..a78d35d77f 100644
--- a/engines/mads/player.cpp
+++ b/engines/mads/player.cpp
@@ -127,7 +127,7 @@ bool Player::loadSprites(const Common::String &prefix) {
setIndex = _vm->_game->_scene._sprites.addSprites(setName, 4);
++_numSprites;
} else if (fileIndex < 5) {
- _highSprites = 0;
+ _highSprites = false;
return true;
} else {
_spriteSetsPresent[fileIndex] = false;
@@ -139,13 +139,13 @@ bool Player::loadSprites(const Common::String &prefix) {
_spritesLoaded = true;
_spritesChanged = false;
- _highSprites = false;
- return false;
} else {
Common::fill(&_spriteSetsPresent[0], &_spriteSetsPresent[PLAYER_SPRITES_FILE_COUNT], false);
- _highSprites = false;
- return false;
+ _visible = false;
}
+
+ _highSprites = false;
+ return false;
}
void Player::setFinalFacing() {