mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-02-15 10:06:24 +00:00
Sector Parameters Ripple
Upper Unpegged - Ripple on floor plane Lower Unpegged - Ripple on ceiling plane
This commit is contained in:
parent
0292464611
commit
802dd22de4
1 changed files with 6 additions and 0 deletions
|
|
@ -6156,6 +6156,12 @@ void P_SpawnSpecials(boolean fromnetsave)
|
|||
if (lines[i].flags & ML_EFFECT1)
|
||||
sectors[s].flags |= SF_INVERTPRECIP;
|
||||
|
||||
if (lines[i].flags & ML_DONTPEGTOP)
|
||||
sectors[s].flags |= SF_RIPPLE_FLOOR;
|
||||
|
||||
if (lines[i].flags & ML_DONTPEGBOTTOM)
|
||||
sectors[s].flags |= SF_RIPPLE_CEILING;
|
||||
|
||||
if (lines[i].frontsector && GETSECSPECIAL(lines[i].frontsector->special, 4) == 12)
|
||||
sectors[s].camsec = sides[*lines[i].sidenum].sector-sectors;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue