diff options
Diffstat (limited to 'engines/gob/inter_v1.cpp')
-rw-r--r-- | engines/gob/inter_v1.cpp | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/engines/gob/inter_v1.cpp b/engines/gob/inter_v1.cpp index b250488dd2..b6b82662bc 100644 --- a/engines/gob/inter_v1.cpp +++ b/engines/gob/inter_v1.cpp @@ -1821,9 +1821,15 @@ bool Inter_v1::o1_createSprite(OpFuncParams ¶ms) { int16 width, height; int16 flag; - index = load16(); - width = load16(); - height = load16(); + if (_vm->_global->_inter_execPtr[1] == 0) { + index = load16(); + width = load16(); + height = load16(); + } else { + index = _vm->_parse->parseValExpr(); + width = _vm->_parse->parseValExpr(); + height = _vm->_parse->parseValExpr(); + } flag = load16(); _vm->_draw->initSpriteSurf(index, width, height, flag ? 2 : 0); |