aboutsummaryrefslogtreecommitdiff
path: root/engines/hopkins
diff options
context:
space:
mode:
Diffstat (limited to 'engines/hopkins')
-rw-r--r--engines/hopkins/globals.h1
-rw-r--r--engines/hopkins/objects.cpp5
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) {