mirror of
https://github.com/DrBeef/Raze.git
synced 2025-02-20 18:52:43 +00:00
- block y-flipping of slope sprites only if they are actually sloped.
This mirrors Polymost's (buggy) handling.
This commit is contained in:
parent
9de4b4753a
commit
9f6d6a0e6d
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ void HWFlat::MakeVertices(HWDrawInfo* di)
|
|||
vec2_t pos[4];
|
||||
int ofsz[4];
|
||||
auto cstat = Sprite->cstat;
|
||||
if (Sprite->clipdist & TSPR_SLOPESPRITE) cstat &= ~CSTAT_SPRITE_YFLIP; // NBlood doesn't y-flip slope sprites.
|
||||
if (tspriteGetSlope(Sprite)) cstat &= ~CSTAT_SPRITE_YFLIP; // NBlood doesn't y-flip slope sprites.
|
||||
GetFlatSpritePosition(Sprite, Sprite->pos.vec2, pos, ofsz, true);
|
||||
Sprite->cstat = cstat;
|
||||
|
||||
|
|
Loading…
Reference in a new issue