Fix for crash in garou and samsho5 w/alpha transparencies enabled
This commit is contained in:
parent
a993a599c7
commit
e01e1235de
|
@ -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];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue