diff options
author | Sven Hesse | 2008-12-15 16:01:39 +0000 |
---|---|---|
committer | Sven Hesse | 2008-12-15 16:01:39 +0000 |
commit | f825ccd63fef64a3ff22a134c01ead71b41354f9 (patch) | |
tree | a1e524d4dd67a09fdaad08f0ea1ad628c6150b71 /engines/gob/inter_v2.cpp | |
parent | 513aeee844c2cef1886e84661bb3e070692c77d5 (diff) | |
download | scummvm-rg350-f825ccd63fef64a3ff22a134c01ead71b41354f9.tar.gz scummvm-rg350-f825ccd63fef64a3ff22a134c01ead71b41354f9.tar.bz2 scummvm-rg350-f825ccd63fef64a3ff22a134c01ead71b41354f9.zip |
Script fix. Magnifier, Memory and Save/Load, while still not working correctly, don't crash the game anymore
svn-id: r35385
Diffstat (limited to 'engines/gob/inter_v2.cpp')
-rw-r--r-- | engines/gob/inter_v2.cpp | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/engines/gob/inter_v2.cpp b/engines/gob/inter_v2.cpp index 0c61361cc3..2b780f96b1 100644 --- a/engines/gob/inter_v2.cpp +++ b/engines/gob/inter_v2.cpp @@ -500,7 +500,7 @@ void Inter_v2::setupOpcodes() { /* 24 */ OPCODE(o1_putPixel), OPCODE(o2_goblinFunc), - OPCODE(o2_createSprite), + OPCODE(o1_createSprite), OPCODE(o1_freeSprite), /* 28 */ {NULL, ""}, @@ -1852,23 +1852,6 @@ bool Inter_v2::o2_goblinFunc(OpFuncParams ¶ms) { return false; } -bool Inter_v2::o2_createSprite(OpFuncParams ¶ms) { - int16 index; - int16 width, height; - int16 flag; - - index = load16(); - width = load16(); - height = load16(); - - _vm->_draw->adjustCoords(0, &width, &height); - - flag = load16(); - _vm->_draw->initSpriteSurf(index, width, height, flag); - - return false; -} - bool Inter_v2::o2_stopSound(OpFuncParams ¶ms) { int16 expr; |