* fixed some crashes which happened, when there were to many enemies on screen.
* imporoved tile reading for some mods git-svn-id: https://clonekeenplus.svn.sourceforge.net/svnroot/clonekeenplus/cgenius/trunk@188 4df4b0f3-56ce-47cb-b001-ed939b7d65a6
This commit is contained in:
@@ -179,6 +179,15 @@ void CTileLoader::assignChangeTileAttribute(stTile *tile)
|
||||
{
|
||||
case 1:
|
||||
{
|
||||
for(int i=502 ; i<=506 ; i++) // Workaround in Level 12 of Episode 2, where the tiles are solid after a taken item.
|
||||
{
|
||||
if( (TileProperty[i][BEHAVIOR] >= 6 &&
|
||||
TileProperty[i][BEHAVIOR] <= 21 &&
|
||||
TileProperty[i][BEHAVIOR] != 17) ||
|
||||
TileProperty[i][BEHAVIOR] == 27 ||
|
||||
TileProperty[i][BEHAVIOR] == 28 )
|
||||
tile[i].chgtile = 439;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 2:
|
||||
|
||||
Reference in New Issue
Block a user