- fixed bad texture validation in Duke automap.

This commit is contained in:
Christoph Oelckers 2020-08-23 23:02:15 +02:00
parent 91b31cec39
commit f6417f5876

View file

@ -591,8 +591,7 @@ void drawoverheadmap(int cposx, int cposy, int czoom, int cang)
{ {
if (wal->nextwall >= 0) continue; if (wal->nextwall >= 0) continue;
if (tilesiz[wal->picnum].x == 0) continue; if (!tileGetTexture(wal->picnum)->isValid()) continue;
if (tilesiz[wal->picnum].y == 0) continue;
if (j == k) if (j == k)
{ {