The 'i' and 'l' charactors only have a shorter width in Simon the Sorcerer 1/2.

svn-id: r26958
This commit is contained in:
Travis Howell 2007-05-27 05:21:50 +00:00
parent 6ce23ced48
commit 4f76f95942

View File

@ -660,9 +660,10 @@ void AGOSEngine::windowPutChar(WindowBlock *window, byte c, byte b) {
window->textLength++; window->textLength++;
window->textColumnOffset += 6; window->textColumnOffset += 6;
if (c == 'i' || c == 'l') if (getGameType() == GType_SIMON1 || getGameType() == GType_SIMON2) {
window->textColumnOffset -= 2; if (c == 'i' || c == 'l')
window->textColumnOffset -= 2;
}
if (window->textColumnOffset >= 8) { if (window->textColumnOffset >= 8) {
window->textColumnOffset -= 8; window->textColumnOffset -= 8;
window->textColumn++; window->textColumn++;