aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/inter_v6.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/gob/inter_v6.cpp')
-rw-r--r--engines/gob/inter_v6.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/engines/gob/inter_v6.cpp b/engines/gob/inter_v6.cpp
index bfa45258fa..c75b3cae9d 100644
--- a/engines/gob/inter_v6.cpp
+++ b/engines/gob/inter_v6.cpp
@@ -410,10 +410,11 @@ bool Inter_v6::o6_fillRect(OpFuncParams &params) {
_vm->_game->_script->evalExpr(0);
_vm->_draw->_backColor = _vm->_game->_script->getResultInt() & 0xFFFF;
- uint16 extraVar = _vm->_game->_script->getResultInt() >> 16;
+
+ _vm->_draw->_pattern = _vm->_game->_script->getResultInt() >> 16;
- if (extraVar != 0)
- warning("Urban Stub: o6_fillRect(), extraVar = %d", extraVar);
+ if (_vm->_draw->_pattern != 0)
+ warning("Urban Stub: o6_fillRect(), _pattern = %d", _vm->_draw->_pattern);
if (_vm->_draw->_spriteRight < 0) {
_vm->_draw->_destSpriteX += _vm->_draw->_spriteRight - 1;