mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-04-01 15:30:58 +00:00
Flag re-organization
* Change alternate param flag from BLOCKMONSTERS to DONTPEGBOTTOM * Change tic-based flag from NOCLIMB to EFFECT5
This commit is contained in:
parent
cc26d03c93
commit
675f69afea
1 changed files with 3 additions and 3 deletions
|
@ -2779,9 +2779,9 @@ static void P_ProcessLineSpecial(line_t *line, mobj_t *mo, sector_t *callsec)
|
|||
|
||||
case 420: // Fade light levels in tagged sectors to new value
|
||||
P_FadeLight(line->tag,
|
||||
(line->flags & ML_BLOCKMONSTERS) ? max(min(sides[line->sidenum[0]].textureoffset>>FRACBITS, 255), 0) : line->frontsector->lightlevel,
|
||||
(line->flags & ML_BLOCKMONSTERS) ? max(sides[line->sidenum[0]].rowoffset>>FRACBITS, 0) : P_AproxDistance(line->dx, line->dy)>>FRACBITS,
|
||||
(line->flags & ML_NOCLIMB),
|
||||
(line->flags & ML_DONTPEGBOTTOM) ? max(min(sides[line->sidenum[0]].textureoffset>>FRACBITS, 255), 0) : line->frontsector->lightlevel,
|
||||
(line->flags & ML_DONTPEGBOTTOM) ? max(sides[line->sidenum[0]].rowoffset>>FRACBITS, 0) : P_AproxDistance(line->dx, line->dy)>>FRACBITS,
|
||||
(line->flags & ML_EFFECT5),
|
||||
(line->flags & ML_TFERLINE));
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in a new issue