mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-27 20:20:40 +00:00
- same for the new renderer.
This commit is contained in:
parent
9c95c902c7
commit
d7a13fc9f2
1 changed files with 2 additions and 0 deletions
|
@ -39,6 +39,7 @@
|
|||
#include "automap.h"
|
||||
#include "gamefuncs.h"
|
||||
#include "hw_portal.h"
|
||||
#include "gamestruct.h"
|
||||
|
||||
|
||||
//==========================================================================
|
||||
|
@ -446,6 +447,7 @@ void BunchDrawer::ProcessSector(int sectnum)
|
|||
{
|
||||
if ((spr->cstat & (CSTAT_SPRITE_ONE_SIDED | CSTAT_SPRITE_ALIGNMENT_MASK)) != (CSTAT_SPRITE_ONE_SIDED | CSTAT_SPRITE_ALIGNMENT_WALL) ||
|
||||
(r_voxels && tiletovox[spr->picnum] >= 0 && voxmodels[tiletovox[spr->picnum]]) ||
|
||||
(r_voxels && gi->Voxelize(spr->picnum)) ||
|
||||
DMulScale(bcos(spr->ang), -sx, bsin(spr->ang), -sy, 6) > 0)
|
||||
if (renderAddTsprite(di->tsprite, di->spritesortcnt, z, sectnum))
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue