Fix bug #1747154 - SIMON1: Another crash in dwarf cave. Another regression, caused by code cleanup.

svn-id: r27889
This commit is contained in:
Travis Howell 2007-07-04 00:58:26 +00:00
parent 87594aae73
commit f30142a55c

View File

@ -370,10 +370,12 @@ void AGOSEngine::printScreenText(uint vgaSpriteId, uint color, const char *strin
if (y < 2)
y = 2;
if (getGameType() == GType_SIMON1)
animate(windowNum, 2, 199 + vgaSpriteId, x, y, 12);
else
if (getGameType() == GType_SIMON1) {
uint16 id = 199 + vgaSpriteId;
animate(windowNum, id / 100, id, x, y, 12);
} else {
animate(windowNum, 2, vgaSpriteId, x, y, 12);
}
}
// The Feeble Files specific