aboutsummaryrefslogtreecommitdiff
path: root/engines/cge
diff options
context:
space:
mode:
authorAdrian Frühwirth2018-03-12 20:07:32 +0100
committerAdrian Frühwirth2018-03-17 21:00:33 +0100
commit578f9d2e5c754e49750ac854404f553790555926 (patch)
tree872d725ffa70a3e2abc130bc5b57436bae00ee29 /engines/cge
parentb7f7159f8f20615221443e77c5bc586ae43ff161 (diff)
downloadscummvm-rg350-578f9d2e5c754e49750ac854404f553790555926.tar.gz
scummvm-rg350-578f9d2e5c754e49750ac854404f553790555926.tar.bz2
scummvm-rg350-578f9d2e5c754e49750ac854404f553790555926.zip
TUCKER: Fix incorrect transition of Lola animation
The original game unconditionally reads into _sprC02Table[] in updateSprite() which results in out-of-bounds reads when a sprite's _state is -1. To make sure that sprites update correctly under all circumstances we always reset a sprite's animation data when it is disabled (_state == -1). This most prominently fixes a bug where Lola's transition from dancing -> sitting happens too late. Fixes Trac#6644.
Diffstat (limited to 'engines/cge')
0 files changed, 0 insertions, 0 deletions