mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-05 01:38:36 +00:00
Fix bug #1747154 - SIMON1: Another crash in dwarf cave. Another regression, caused by code cleanup.
svn-id: r27889
This commit is contained in:
parent
87594aae73
commit
f30142a55c
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user