aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2003-12-13 04:11:42 +0000
committerEugene Sandulenko2003-12-13 04:11:42 +0000
commitef55ec6582f5a7c0031a9a8810e7717db542ca9c (patch)
tree5216cca59cdd836aa47c793fe656df907854d503
parenta2a1b7de1fa4a2766c97149875580657167e66ba (diff)
downloadscummvm-rg350-ef55ec6582f5a7c0031a9a8810e7717db542ca9c.tar.gz
scummvm-rg350-ef55ec6582f5a7c0031a9a8810e7717db542ca9c.tar.bz2
scummvm-rg350-ef55ec6582f5a7c0031a9a8810e7717db542ca9c.zip
o Fix bug which crashed scummvm in some cases
svn-id: r11611
-rw-r--r--scumm/smush/insane.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/smush/insane.cpp b/scumm/smush/insane.cpp
index 737020774d..48b7dde5e9 100644
--- a/scumm/smush/insane.cpp
+++ b/scumm/smush/insane.cpp
@@ -47,7 +47,7 @@
// tovista2.san
// TODO:
-// o Fix wrong enemy animation
+// o Check why ftmacdemo doesn't finish insane scene
// o Proper SAN seeking/switching. Now it just crashes
// o TRS file support. Everything is in place, I just need to figure out function parameters
// o FLU files support
@@ -4790,7 +4790,7 @@ void Insane::prepareScenePropScene(int32 scenePropNum, bool arg_4, bool arg_8) {
if (tmp != -1) {
_actor[tmp].field_54 = 1;
_actor[tmp].act[3].state = 117;
- _actor[tmp].scenePropSubIdx = scenePropNum;
+ _actor[tmp].scenePropSubIdx = _currScenePropSubIdx;
}
}