diff options
author | Travis Howell | 2007-06-04 05:05:02 +0000 |
---|---|---|
committer | Travis Howell | 2007-06-04 05:05:02 +0000 |
commit | 6f3d87314ea737d8e62fb4a69f00c047713c8e6f (patch) | |
tree | c2f3220c20768178a21edfe54d0efd7e6bb8f97a /engines | |
parent | 43511e8ed2b42de6363d3bf4bd19783940c4394d (diff) | |
download | scummvm-rg350-6f3d87314ea737d8e62fb4a69f00c047713c8e6f.tar.gz scummvm-rg350-6f3d87314ea737d8e62fb4a69f00c047713c8e6f.tar.bz2 scummvm-rg350-6f3d87314ea737d8e62fb4a69f00c047713c8e6f.zip |
Change printChar variables to signed, to allow removal of work around for The Feeble Files.
svn-id: r27076
Diffstat (limited to 'engines')
-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); |