mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-26 00:40:56 +00:00
Mapster32: always show highlighted sprites in 2D mode, even in a gray sector.
git-svn-id: https://svn.eduke32.com/eduke32@2274 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
bb1070b795
commit
661e85155b
1 changed files with 10 additions and 6 deletions
|
@ -15158,15 +15158,19 @@ void draw2dscreen(const vec3_t *pos, int16_t cursectnum, int16_t ange, int32_t z
|
||||||
|
|
||||||
faketimerhandler();
|
faketimerhandler();
|
||||||
|
|
||||||
if (zoome >= 256 || highlightcnt>0 /*|| editstatus == 0*/)
|
if (zoome >= 256 || highlightcnt>0)
|
||||||
for (j=0; j<MAXSPRITES; j++)
|
for (j=0; j<MAXSPRITES; j++)
|
||||||
if (sprite[j].statnum<MAXSTATUS /*&& (editstatus == 1 || (show2dsprite[j>>3]&pow2char[j&7]))*/)
|
if (sprite[j].statnum<MAXSTATUS)
|
||||||
{
|
{
|
||||||
if (!m32_sideview && sprite[j].sectnum >= 0)
|
// if sprite is highlighted, always draw it
|
||||||
YAX_SKIPSECTOR(sprite[j].sectnum);
|
if ((show2dsprite[j>>3]&pow2char[j&7])==0)
|
||||||
|
{
|
||||||
|
if (!m32_sideview && sprite[j].sectnum >= 0)
|
||||||
|
YAX_SKIPSECTOR(sprite[j].sectnum);
|
||||||
|
|
||||||
if (zoome<256 && (show2dsprite[j>>3]&pow2char[j&7])==0)
|
if (zoome<256)
|
||||||
continue;
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
if (!m32_sideview)
|
if (!m32_sideview)
|
||||||
drawscreen_drawsprite(j,posxe,posye,posze,zoome);
|
drawscreen_drawsprite(j,posxe,posye,posze,zoome);
|
||||||
|
|
Loading…
Reference in a new issue