scummvm/engines/toon
Torbjörn Andersson 6b8a3dba70 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
2010-11-28 20:53:57 +00:00
..
anim.cpp TOON: Fix audio crashs and more memory leaks 2010-11-12 22:31:04 +00:00
anim.h TOON: Fix more memory leaks 2010-11-13 02:44:34 +00:00
audio.cpp COMMON: Split common/stream.h into several headers 2010-11-19 17:03:07 +00:00
audio.h TOON: Fix more memory leaks 2010-11-13 02:44:34 +00:00
character.cpp TOON: Attempt to fix crash when Bricabrac puts on his glasses 2010-11-28 20:53:57 +00:00
character.h TOON: Walk animation improved 2010-11-13 01:15:37 +00:00
console.cpp TOON: Added basic debugging console to engine 2010-11-07 17:18:59 +00:00
console.h TOON: Added basic debugging console to engine 2010-11-07 17:18:59 +00:00
conversation.cpp TOON: Ran astyle over the toon engine (+ some manual corrections). 2010-10-09 11:11:26 +00:00
conversation.h TOON: Ran astyle over the toon engine (+ some manual corrections). 2010-10-09 11:11:26 +00:00
detection.cpp ENGINES: Unify code layout of all ADParams instances 2010-11-07 01:01:18 +00:00
drew.cpp TOON: Walk animation improved 2010-11-13 01:15:37 +00:00
drew.h TOON: Walk animation improved 2010-11-13 01:15:37 +00:00
flux.cpp TOON: Even more corrections to close memory leaks. 2010-11-10 06:22:18 +00:00
flux.h TOON: Even more corrections to close memory leaks. 2010-11-10 06:22:18 +00:00
font.cpp TOON: Corrections to close some memory leaks. 2010-11-07 21:08:46 +00:00
font.h TOON: Corrections to close some memory leaks. 2010-11-07 21:08:46 +00:00
hotspot.cpp TOON: Even more corrections to close memory leaks. 2010-11-10 06:22:18 +00:00
hotspot.h TOON: Corrections to close some memory leaks. 2010-11-07 21:08:46 +00:00
module.mk TOON: Added basic debugging console to engine 2010-11-07 17:18:59 +00:00
movie.cpp TOON: Fix audio crashs and more memory leaks 2010-11-12 22:31:04 +00:00
movie.h TOON: Fix audio crashs and more memory leaks 2010-11-12 22:31:04 +00:00
path.cpp TOON: Walk animation improved 2010-11-13 01:15:37 +00:00
path.h TOON: Walk animation improved 2010-11-13 01:15:37 +00:00
picture.cpp TOON: Corrections to close some memory leaks. 2010-11-07 21:08:46 +00:00
picture.h TOON: Corrections to close some memory leaks. 2010-11-07 21:08:46 +00:00
resource.cpp COMMON: Split common/stream.h into several headers 2010-11-19 17:03:07 +00:00
resource.h TOON: Fix audio crashs and more memory leaks 2010-11-12 22:31:04 +00:00
script_func.cpp TOON: Fix more memory leaks 2010-11-13 02:44:34 +00:00
script_func.h TOON: Updated code to build properly for WINSCW and GCCE(symbian) 2010-10-13 07:14:38 +00:00
script.cpp TOON: Walk animation improved 2010-11-13 01:15:37 +00:00
script.h TOON: Further corrections to close memory leaks. 2010-11-08 03:14:32 +00:00
state.cpp TOON: Ran astyle over the toon engine (+ some manual corrections). 2010-10-09 11:11:26 +00:00
state.h TOON: Normalized include paths 2010-10-08 22:45:28 +00:00
text.cpp TOON: Even more corrections to close memory leaks. 2010-11-10 06:22:18 +00:00
text.h TOON: Normalized include paths 2010-10-08 22:45:28 +00:00
tools.cpp TOON: Fix potential undefined operation warning 2010-10-10 21:19:40 +00:00
tools.h
toon.cpp COMMON: Split common/stream.h into several headers 2010-11-19 17:03:07 +00:00
toon.h COMMON: Split common/stream.h into several headers 2010-11-19 17:03:07 +00:00