diff options
author | Adrian Frühwirth | 2018-03-12 20:07:32 +0100 |
---|---|---|
committer | Adrian Frühwirth | 2018-03-17 21:00:33 +0100 |
commit | 578f9d2e5c754e49750ac854404f553790555926 (patch) | |
tree | 872d725ffa70a3e2abc130bc5b57436bae00ee29 /engines/toon/movie.h | |
parent | b7f7159f8f20615221443e77c5bc586ae43ff161 (diff) | |
download | scummvm-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/toon/movie.h')
0 files changed, 0 insertions, 0 deletions