diff --git a/source/games/duke/src/game_misc.cpp b/source/games/duke/src/game_misc.cpp index 243b48c48..e1e114630 100644 --- a/source/games/duke/src/game_misc.cpp +++ b/source/games/duke/src/game_misc.cpp @@ -591,8 +591,7 @@ void drawoverheadmap(int cposx, int cposy, int czoom, int cang) { if (wal->nextwall >= 0) continue; - if (tilesiz[wal->picnum].x == 0) continue; - if (tilesiz[wal->picnum].y == 0) continue; + if (!tileGetTexture(wal->picnum)->isValid()) continue; if (j == k) {