Fixed overflow after fadeout in the last game location (bug #1824026).

svn-id: r29374
This commit is contained in:
Nicola Mettifogo 2007-11-02 08:34:56 +00:00
parent ca1b941d02
commit 610d9a2ce7

View File

@ -870,7 +870,7 @@ void Parallaction::switchBackground(const char* background, const char* mask) {
uint16 v2 = 0;
if (!scumm_stricmp(background, "final")) {
_gfx->clearScreen(Gfx::kBitBack);
for (uint16 _si = 0; _si <= 32; _si++) {
for (uint16 _si = 0; _si < 32; _si++) {
pal.setEntry(_si, v2, v2, v2);
v2 += 4;
}