aboutsummaryrefslogtreecommitdiff
path: root/engines/hopkins/font.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/hopkins/font.cpp')
-rw-r--r--engines/hopkins/font.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/engines/hopkins/font.cpp b/engines/hopkins/font.cpp
index 86a4352d04..ee1634a86f 100644
--- a/engines/hopkins/font.cpp
+++ b/engines/hopkins/font.cpp
@@ -327,14 +327,6 @@ void FontManager::box(int idx, int messageId, const Common::String &filename, in
_text[idx]._pos.x = i;
textPosX = _vm->_eventsManager._startPos.x + i;
} else {
- if (_vm->_globals.nbrligne == (SCREEN_WIDTH - 1)) {
- while (_vm->_globals._boxWidth + textPosX > 638 && textPosX > -2)
- textPosX -= 2;
- }
- if (_vm->_globals.nbrligne == (SCREEN_WIDTH * 2)) {
- while (_vm->_globals._boxWidth + textPosX > 1278 && textPosX > -2)
- textPosX -= 2;
- }
_text[idx]._pos.x = textPosX;
}
}