mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-16 01:11:28 +00:00
Display sprite shadows in Polymer if dynamic lighting is disabled.
Patch from Fox. git-svn-id: https://svn.eduke32.com/eduke32@6595 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
a96613f496
commit
535b7c4d66
1 changed files with 5 additions and 1 deletions
|
@ -4216,7 +4216,11 @@ skip:
|
|||
if (actor[i].flags & SFLAG_NOFLOORSHADOW)
|
||||
continue;
|
||||
|
||||
if (ud.shadows && spritesortcnt < (maxspritesonscreen-2) && getrendermode() != REND_POLYMER)
|
||||
if (ud.shadows && spritesortcnt < (maxspritesonscreen-2)
|
||||
#ifdef POLYMER
|
||||
&& !(getrendermode() == REND_POLYMER && pr_lighting != 0)
|
||||
#endif
|
||||
)
|
||||
{
|
||||
int const shadowZ = ((sector[sect].lotag & 0xff) > 2 || pSprite->statnum == STAT_PROJECTILE ||
|
||||
pSprite->statnum == STAT_MISC || pSprite->picnum == DRONE || pSprite->picnum == COMMANDER)
|
||||
|
|
Loading…
Reference in a new issue