From 4f76f959422ba009210a2083c3d3b01285896dd9 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Sun, 27 May 2007 05:21:50 +0000 Subject: The 'i' and 'l' charactors only have a shorter width in Simon the Sorcerer 1/2. svn-id: r26958 --- engines/agos/charset.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/engines/agos/charset.cpp b/engines/agos/charset.cpp index 057c8669be..c3c7ece8ce 100644 --- a/engines/agos/charset.cpp +++ b/engines/agos/charset.cpp @@ -660,9 +660,10 @@ void AGOSEngine::windowPutChar(WindowBlock *window, byte c, byte b) { window->textLength++; window->textColumnOffset += 6; - if (c == 'i' || c == 'l') - window->textColumnOffset -= 2; - + if (getGameType() == GType_SIMON1 || getGameType() == GType_SIMON2) { + if (c == 'i' || c == 'l') + window->textColumnOffset -= 2; + } if (window->textColumnOffset >= 8) { window->textColumnOffset -= 8; window->textColumn++; -- cgit v1.2.3