Fix for Issue 194.

This commit is contained in:
Mikko Mononen 2012-02-23 17:11:02 +00:00
parent a12afd675f
commit 478d5c8605

View File

@ -512,7 +512,7 @@ static void debugDrawTileCachePortals(struct duDebugDraw* dd, const dtTileCacheL
{
const int idx = x+y*w;
const int lh = (int)layer.heights[idx];
if (h == 0xff) continue;
if (lh == 0xff) continue;
for (int dir = 0; dir < 4; ++dir)
{