Fix for crash in garou and samsho5 w/alpha transparencies enabled

This commit is contained in:
dinkc64 2014-10-28 16:41:41 +00:00
parent a993a599c7
commit e01e1235de
1 changed files with 1 additions and 1 deletions

View File

@ -194,7 +194,7 @@ static void NeoBlendInit(INT32 nSlot)
}
for (k = min; k <= max; k++) {
if (NeoTileAttrib[nSlot][k] != 1) // ?
if (k < nNeoTileMask[nSlot] + 1 && NeoTileAttrib[nSlot][k] != 1) // ?
NeoTileAttrib[nSlot][k] = table[type&3];
}
}