aboutsummaryrefslogtreecommitdiff
path: root/engines/lure/intro.cpp
diff options
context:
space:
mode:
authorTorbjörn Andersson2010-11-28 20:53:57 +0000
committerTorbjörn Andersson2010-11-28 20:53:57 +0000
commit6b8a3dba7029366bcc950116d31227de96c7b81e (patch)
treea83b51ed58a7a22e5270b425a4e0915b840acdd4 /engines/lure/intro.cpp
parentae1607cd99b89cb0da683ad44308abc759fd5c65 (diff)
downloadscummvm-rg350-6b8a3dba7029366bcc950116d31227de96c7b81e.tar.gz
scummvm-rg350-6b8a3dba7029366bcc950116d31227de96c7b81e.tar.bz2
scummvm-rg350-6b8a3dba7029366bcc950116d31227de96c7b81e.zip
TOON: Attempt to fix crash when Bricabrac puts on his glasses
This was a regression in r54223, and it's the most direct fix I can think of. The problem seems to be that sys_Cmd_Remove_Scene_Anim() clears the character's _animationInstance while character::playAnim() is waiting "for the character to be ready". My fix was to treat _animationInstance NULL as another sign that the wait is over, but maybe the real fix is for sys_Cmd_Remove_Scene_Anim() to do more than just clear the variable, e.g. stop the script or something like that? svn-id: r54549
Diffstat (limited to 'engines/lure/intro.cpp')
0 files changed, 0 insertions, 0 deletions