diff options
-rw-r--r-- | engines/agos/charset.cpp | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/engines/agos/charset.cpp b/engines/agos/charset.cpp index 40b0a84390..e8eb35586d 100644 --- a/engines/agos/charset.cpp +++ b/engines/agos/charset.cpp @@ -539,19 +539,7 @@ void AGOSEngine::justifyOutPut(byte chr) { doOutput(&chr, 1); clsCheck(_textWindow); } else if (chr == 0 || chr == ' ' || chr == 10) { - bool fit; - - // Note that in FF, _printCharCurPos may be greater than - // _printCharMaxPos. In Simon, that is probably prevented by - // testing if _printCharCurPos == _printCharMaxPos below. - - if (getGameType() == GType_FF || getGameType() == GType_PP) { - fit = _printCharMaxPos > _printCharCurPos + _printCharPixelCount; - } else { - fit = _printCharMaxPos - _printCharCurPos >= _printCharPixelCount; - } - - if (fit) { + if (_printCharMaxPos - _printCharCurPos >= _printCharPixelCount) { _printCharCurPos += _printCharPixelCount; doOutput(_lettersToPrintBuf, _numLettersToPrint); |