mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
Fix cstat 1024 with Polymer
git-svn-id: https://svn.eduke32.com/eduke32@5407 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
f22dbc6fdb
commit
ad8da7be99
1 changed files with 14 additions and 2 deletions
|
@ -9894,7 +9894,11 @@ killsprite:
|
|||
while (i)
|
||||
{
|
||||
i--;
|
||||
if (tspriteptr[i] != NULL && (tspriteptr[i]->cstat & 1024) != 1024)
|
||||
if (tspriteptr[i] != NULL && ((tspriteptr[i]->cstat & 1024) != 1024
|
||||
#ifdef POLYMER
|
||||
|| getrendermode() == REND_POLYMER
|
||||
#endif
|
||||
))
|
||||
{
|
||||
vec2f_t spr;
|
||||
const tspritetype *tspr = tspriteptr[i];
|
||||
|
@ -9966,6 +9970,10 @@ killsprite:
|
|||
{
|
||||
debugmask_add(i | 32768, tspr->owner);
|
||||
drawsprite(i);
|
||||
#ifdef POLYMER
|
||||
if (tspr->cstat & 1024 && getrendermode() == REND_POLYMER)
|
||||
continue;
|
||||
#endif
|
||||
tspriteptr[i] = NULL;
|
||||
}
|
||||
}
|
||||
|
@ -9981,7 +9989,11 @@ killsprite:
|
|||
while (i)
|
||||
{
|
||||
i--;
|
||||
if (tspriteptr[i] != NULL && (tspriteptr[i]->cstat & 1024) != 1024)
|
||||
if (tspriteptr[i] != NULL && ((tspriteptr[i]->cstat & 1024) != 1024
|
||||
#ifdef POLYMER
|
||||
|| getrendermode() == REND_POLYMER
|
||||
#endif
|
||||
))
|
||||
{
|
||||
debugmask_add(i | 32768, tspriteptr[i]->owner);
|
||||
drawsprite(i);
|
||||
|
|
Loading…
Reference in a new issue