diff options
author | Strangerke | 2013-01-05 01:14:27 +0100 |
---|---|---|
committer | Strangerke | 2013-01-05 01:14:27 +0100 |
commit | 0a25776dcac993f09ce2eaeb6c14b480b429d85b (patch) | |
tree | fb14db3def4f99336e91b5b0445ee26c8fda35e2 /engines | |
parent | e3494642498ec5067d7beef7cc7610873404ddb3 (diff) | |
download | scummvm-rg350-0a25776dcac993f09ce2eaeb6c14b480b429d85b.tar.gz scummvm-rg350-0a25776dcac993f09ce2eaeb6c14b480b429d85b.tar.bz2 scummvm-rg350-0a25776dcac993f09ce2eaeb6c14b480b429d85b.zip |
HOPKINS: Get rid of NO_OFFSET which isn't initialized properly in the original game...
Diffstat (limited to 'engines')
-rw-r--r-- | engines/hopkins/globals.h | 1 | ||||
-rw-r--r-- | engines/hopkins/objects.cpp | 5 |
2 files changed, 1 insertions, 5 deletions
diff --git a/engines/hopkins/globals.h b/engines/hopkins/globals.h index 5dc5ef66d1..4aac3247ee 100644 --- a/engines/hopkins/globals.h +++ b/engines/hopkins/globals.h @@ -434,7 +434,6 @@ public: int couleur_40; int STOP_BUG; - bool NO_OFFSET; int MAX_COMPTE; int force_to_data_0; diff --git a/engines/hopkins/objects.cpp b/engines/hopkins/objects.cpp index 38e86be093..ec2dd6a546 100644 --- a/engines/hopkins/objects.cpp +++ b/engines/hopkins/objects.cpp @@ -3927,10 +3927,7 @@ void ObjectsManager::BOB_VIVANT(int idx) { int yp = (int16)READ_LE_UINT16(_vm->_talkManager._characterAnim + startPos + 2); int spriteIndex = _vm->_talkManager._characterAnim[startPos + 8]; - if (!_vm->_globals.NO_OFFSET) - _vm->_graphicsManager.fastDisplay(_vm->_talkManager._characterSprite, _vm->_graphicsManager._scrollOffset + xp, yp, spriteIndex); - else - _vm->_graphicsManager.fastDisplay(_vm->_talkManager._characterSprite, xp, yp, spriteIndex); + _vm->_graphicsManager.fastDisplay(_vm->_talkManager._characterSprite, xp, yp, spriteIndex); } void ObjectsManager::VBOB(byte *src, int idx, int xp, int yp, int frameIndex) { |