diff options
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; |