mirror of
https://github.com/ZDoom/Raze.git
synced 2025-06-02 10:11:04 +00:00
- deal with most of CSTAT_SECTOR_SKY and CSTAT_SECTOR_SLOPE
This commit is contained in:
parent
98f0886b3d
commit
d0a06ae961
24 changed files with 69 additions and 69 deletions
|
@ -366,7 +366,7 @@ static void ReadSpriteV5(FileReader& fr, spritetype& spr, int& secno)
|
|||
spr.extra = fr.ReadInt16();
|
||||
|
||||
auto sec = spr.sector();
|
||||
if ((sec->ceilingstat & 1) > 0)
|
||||
if ((sec->ceilingstat & CSTAT_SECTOR_SKY) > 0)
|
||||
spr.pal = sec->ceilingpal;
|
||||
else
|
||||
spr.pal = sec->floorpal;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue