- flag sprites for automapping regardless of the 'automapping' variable's value.

Duke should show its floor sprites, too.
This commit is contained in:
Christoph Oelckers 2021-09-06 23:14:01 +02:00
parent 2297c9351a
commit 99ecfe133d
2 changed files with 2 additions and 2 deletions

View file

@ -3252,7 +3252,7 @@ void polymost_drawsprite(int32_t snum)
break;
}
if (automapping == 1 && (unsigned)spritenum < MAXSPRITES)
if ((unsigned)spritenum < MAXSPRITES)
show2dsprite.Set(spritenum);
_drawsprite_return:

View file

@ -281,7 +281,7 @@ void HWDrawInfo::DispatchSprites()
if (spritenum < 0 || (unsigned)tilenum >= MAXTILES)
continue;
if (automapping == 1 && (unsigned)spritenum < MAXSPRITES)
if ((unsigned)spritenum < MAXSPRITES)
show2dsprite.Set(spritenum);
setgotpic(tilenum);