Fix for Issue 194.
This commit is contained in:
parent
a12afd675f
commit
478d5c8605
@ -512,7 +512,7 @@ static void debugDrawTileCachePortals(struct duDebugDraw* dd, const dtTileCacheL
|
|||||||
{
|
{
|
||||||
const int idx = x+y*w;
|
const int idx = x+y*w;
|
||||||
const int lh = (int)layer.heights[idx];
|
const int lh = (int)layer.heights[idx];
|
||||||
if (h == 0xff) continue;
|
if (lh == 0xff) continue;
|
||||||
|
|
||||||
for (int dir = 0; dir < 4; ++dir)
|
for (int dir = 0; dir < 4; ++dir)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user