Fixed skybox clipping: lines in a skybox shouldn't be clipped against current portal

This commit is contained in:
ZZYZX 2016-01-10 05:22:33 +02:00
commit 4d518a220c
6 changed files with 19 additions and 38 deletions

View file

@ -320,7 +320,7 @@ nextpost:
// [ZZ]
// R_ClipSpriteColumnWithPortals
//
bool R_ClipSpriteColumnWithPortals (fixed_t x, fixed_t y, vissprite_t* spr)
static inline bool R_ClipSpriteColumnWithPortals (fixed_t x, fixed_t y, vissprite_t* spr)
{
for (drawseg_t* seg = ds_p; seg-- > firstdrawseg; ) // copied code from killough below
{