mirror of
https://github.com/DrBeef/Raze.git
synced 2025-01-19 07:31:03 +00:00
- fixed broken getzrange setup.
When adding support for slope sprites an assignment to daz2 got lost.
This commit is contained in:
parent
3992dfae84
commit
d84556d829
1 changed files with 1 additions and 0 deletions
|
@ -1177,6 +1177,7 @@ void getzrange(const vec3_t& pos, sectortype* sect, int32_t* ceilz, CollisionBas
|
|||
{
|
||||
if ((cstat & CSTAT_SPRITE_ALIGNMENT_MASK) == CSTAT_SPRITE_ALIGNMENT_FLOOR) daz = spr->pos.Z;
|
||||
else daz = spriteGetZOfSlope(spr, pos.X, pos.Y);
|
||||
daz2 = daz;
|
||||
|
||||
if ((cstat & CSTAT_SPRITE_ONE_SIDE) != 0 && (pos.Z > daz) == ((cstat & CSTAT_SPRITE_YFLIP)==0))
|
||||
continue;
|
||||
|
|
Loading…
Reference in a new issue