aboutsummaryrefslogtreecommitdiff
path: root/scumm/insane
diff options
context:
space:
mode:
authorTravis Howell2005-04-03 06:27:44 +0000
committerTravis Howell2005-04-03 06:27:44 +0000
commitd7b6860730a104bd85491ea90deafebd57da9d90 (patch)
tree841fac2ac4e3a93cf98fe5ba6f3bbaeb843a8f5b /scumm/insane
parent27cba7619ec217d541d7160bb7daa00cb9b30b83 (diff)
downloadscummvm-rg350-d7b6860730a104bd85491ea90deafebd57da9d90.tar.gz
scummvm-rg350-d7b6860730a104bd85491ea90deafebd57da9d90.tar.bz2
scummvm-rg350-d7b6860730a104bd85491ea90deafebd57da9d90.zip
Removed reinit() and replaced with offsets of zero. We only need to skip type/size.
Removed AnimHeader check in parseNextFrame() and _skipPalette, since AnimHeader is correctly skipped when required now. svn-id: r17343
Diffstat (limited to 'scumm/insane')
-rw-r--r--scumm/insane/insane.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/insane/insane.cpp b/scumm/insane/insane.cpp
index 7ab6e0ee0f..80ea65f2aa 100644
--- a/scumm/insane/insane.cpp
+++ b/scumm/insane/insane.cpp
@@ -857,7 +857,7 @@ void Insane::smush_rewindCurrentSan(int arg_0, int arg_4, int arg_8) {
debugC(DEBUG_INSANE, "smush_rewindCurrentSan(%d, %d, %d)", arg_0, arg_4, arg_8);
_smush_setupsan2 = arg_0;
- smush_setupSanFile(0, 8, 0);
+ smush_setupSanFile(0, 0, 0);
_smush_isSanFileSetup = 1;
smush_setFrameSteps(arg_4, arg_8);
@@ -1437,7 +1437,7 @@ void Insane::smush_setupSanFromStart(const char *filename, int32 setupsan2, int3
debugC(DEBUG_INSANE, "Insane::smush_setupFromStart(%s)", filename);
_smush_setupsan1 = setupsan1;
_smush_setupsan2 = setupsan2;
- smush_setupSanFile(filename, 8, 0);
+ smush_setupSanFile(filename, 0, 0);
_smush_isSanFileSetup = 1;
smush_setFrameSteps(step1, step2);
smush_warpMouse(160, 100, -1);