From ff2249995d9c42397a7f4201269ebaecb3470e50 Mon Sep 17 00:00:00 2001 From: Nathan Fulton Date: Tue, 25 Apr 2017 23:55:22 -0400 Subject: [PATCH] mcl don't throw exception "Couldn't find tile index!" --- m/OutputTools.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/m/OutputTools.cs b/m/OutputTools.cs index 7986b51..9e337c3 100644 --- a/m/OutputTools.cs +++ b/m/OutputTools.cs @@ -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; } }