mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-19 16:01:35 +00:00
Forgot to clean up some stuff
This commit is contained in:
parent
63a901b714
commit
3e0a9c8718
1 changed files with 1 additions and 5 deletions
|
@ -6076,12 +6076,10 @@ static void P_AddAirbob(sector_t *sec, line_t *sourceline, fixed_t dist, boolean
|
|||
airbob->sector = sec;
|
||||
|
||||
airbob->ceilingtop = sec->ceilingheight;
|
||||
airbob->ceilingbottom = sec->ceilingheight - speed;
|
||||
airbob->ceilingbottom = sec->ceilingheight - dist;
|
||||
|
||||
airbob->basespeed = FRACUNIT;
|
||||
|
||||
airbob->flags = flags;
|
||||
|
||||
if (!raise)
|
||||
airbob->flags |= RF_REVERSE;
|
||||
if (spindash)
|
||||
|
@ -6897,8 +6895,6 @@ void P_SpawnSpecials(boolean fromnetsave)
|
|||
break;
|
||||
}
|
||||
case 152: // Adjustable air bobbing platform in reverse
|
||||
if (lines[i].flags & NOCLIMB)
|
||||
raiseflags |= RF_SPINDASH;
|
||||
P_AddFakeFloorsByLine(i, FF_EXISTS|FF_SOLID|FF_RENDERALL|FF_CUTLEVEL, secthinkers);
|
||||
P_AddAirbob(lines[i].frontsector, lines + i, P_AproxDistance(lines[i].dx, lines[i].dy), true, !!(lines[i].flags & ML_NOCLIMB), false);
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue