Fix incorrect position of characters in Elvira 2, caused by column offset difference in clearWindow.

svn-id: r27154
This commit is contained in:
Travis Howell 2007-06-07 00:54:17 +00:00
parent cd73da05cc
commit bcd4dfb86a

View File

@ -103,7 +103,7 @@ void AGOSEngine::clearWindow(WindowBlock *window) {
window->textColumn = 0;
window->textRow = 0;
window->textColumnOffset = 0;
window->textColumnOffset = (getGameType() == GType_ELVIRA2) ? 4 : 0;
window->textLength = 0;
window->scrollY = 0;
}