mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-13 07:58:04 +00:00
Remove one instance of duplicate code lines and now unused TSPR_MIRROR.
git-svn-id: https://svn.eduke32.com/eduke32@3936 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
f506e0f570
commit
c243bab0e7
3 changed files with 0 additions and 10 deletions
|
@ -89,7 +89,6 @@ enum rendmode_t {
|
||||||
#define NORMALPAL (MAXPALOOKUPS - 4)
|
#define NORMALPAL (MAXPALOOKUPS - 4)
|
||||||
|
|
||||||
#define TSPR_TEMP 99
|
#define TSPR_TEMP 99
|
||||||
#define TSPR_MIRROR 100
|
|
||||||
|
|
||||||
#define PR_LIGHT_PRIO_MAX 0
|
#define PR_LIGHT_PRIO_MAX 0
|
||||||
#define PR_LIGHT_PRIO_MAX_GAME 1
|
#define PR_LIGHT_PRIO_MAX_GAME 1
|
||||||
|
|
|
@ -3723,12 +3723,6 @@ void polymost_drawsprite(int32_t snum)
|
||||||
{
|
{
|
||||||
if (usemodels && tile2model[Ptile2tile(tspr->picnum,tspr->pal)].modelid >= 0 && tile2model[Ptile2tile(tspr->picnum,tspr->pal)].framenum >= 0)
|
if (usemodels && tile2model[Ptile2tile(tspr->picnum,tspr->pal)].modelid >= 0 && tile2model[Ptile2tile(tspr->picnum,tspr->pal)].framenum >= 0)
|
||||||
{
|
{
|
||||||
if (spritenum >= MAXSPRITES || tspr->statnum == TSPR_MIRROR)
|
|
||||||
{
|
|
||||||
if (mddraw(tspr)) return;
|
|
||||||
break; // else, render as flat sprite
|
|
||||||
}
|
|
||||||
|
|
||||||
if (mddraw(tspr))
|
if (mddraw(tspr))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|
|
@ -7048,9 +7048,6 @@ static void G_DoEventAnimSprites(int32_t j)
|
||||||
{
|
{
|
||||||
const int32_t ow = tsprite[j].owner;
|
const int32_t ow = tsprite[j].owner;
|
||||||
|
|
||||||
if (display_mirror)
|
|
||||||
tsprite[j].statnum = TSPR_MIRROR;
|
|
||||||
|
|
||||||
if ((unsigned)ow < MAXSPRITES && spriteext[ow].flags & SPREXT_TSPRACCESS)
|
if ((unsigned)ow < MAXSPRITES && spriteext[ow].flags & SPREXT_TSPRACCESS)
|
||||||
{
|
{
|
||||||
spriteext[ow].tspr = &tsprite[j];
|
spriteext[ow].tspr = &tsprite[j];
|
||||||
|
|
Loading…
Reference in a new issue