diff options
author | Paul Gilbert | 2014-11-23 18:37:34 -0500 |
---|---|---|
committer | Paul Gilbert | 2014-12-12 22:41:18 -0500 |
commit | cdb2159ba282bd8218db86651199ee8072603525 (patch) | |
tree | 2fca61cb27d53caee923ec955543ffaf9a332b08 | |
parent | a9131a93c377311addf8f74d0b71fe6c8fac3aa7 (diff) | |
download | scummvm-rg350-cdb2159ba282bd8218db86651199ee8072603525.tar.gz scummvm-rg350-cdb2159ba282bd8218db86651199ee8072603525.tar.bz2 scummvm-rg350-cdb2159ba282bd8218db86651199ee8072603525.zip |
ACCESS: Workaround for original Amazon bug trying to draw player in
cutscene
In scene 33, the game briefly adds the player to the _images list, even
though no player sprites have been loaded, since it's a cutscene scene
-rw-r--r-- | engines/access/player.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/access/player.cpp b/engines/access/player.cpp index 2abe9ad097..7adfc5ec0f 100644 --- a/engines/access/player.cpp +++ b/engines/access/player.cpp @@ -666,7 +666,8 @@ void Player::plotCom1() { } void Player::plotCom2() { - if (!_playerOff) + // WORKAROUND: Amazon has at least one cutscene with the player not properly turned off + if (!_playerOff && _spritesPtr != nullptr) _vm->_images.addToList(*this); } |