mirror of
https://github.com/spiffcode/hostile-takeover.git
synced 2026-04-26 13:15:05 -06:00
mcl don't throw exception "Couldn't find tile index!"
This commit is contained in:
parent
36afa67e5f
commit
ff2249995d
@ -839,8 +839,8 @@ namespace m
|
||||
for (int tx = 0; tx < m_ctx; tx++) {
|
||||
TileSet.ExtractTilePixels(bm, tx, ty, m_sizTile, ref aclrTile);
|
||||
int index = tset.FindTileIndex(aclrTile);
|
||||
if (index == -1)
|
||||
throw new Exception("Couldn't find tile index!");
|
||||
// if (index == -1)
|
||||
// throw new Exception("Couldn't find tile index!");
|
||||
m_aiTile[ty, tx] = index;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user