mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 04:21:47 +00:00
Forgot to clean up some stuff
This commit is contained in:
parent
1f038e827a
commit
5e013ea679
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->sector = sec;
|
||||||
|
|
||||||
airbob->ceilingtop = sec->ceilingheight;
|
airbob->ceilingtop = sec->ceilingheight;
|
||||||
airbob->ceilingbottom = sec->ceilingheight - speed;
|
airbob->ceilingbottom = sec->ceilingheight - dist;
|
||||||
|
|
||||||
airbob->basespeed = FRACUNIT;
|
airbob->basespeed = FRACUNIT;
|
||||||
|
|
||||||
airbob->flags = flags;
|
|
||||||
|
|
||||||
if (!raise)
|
if (!raise)
|
||||||
airbob->flags |= RF_REVERSE;
|
airbob->flags |= RF_REVERSE;
|
||||||
if (spindash)
|
if (spindash)
|
||||||
|
|
@ -6897,8 +6895,6 @@ void P_SpawnSpecials(boolean fromnetsave)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case 152: // Adjustable air bobbing platform in reverse
|
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_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);
|
P_AddAirbob(lines[i].frontsector, lines + i, P_AproxDistance(lines[i].dx, lines[i].dy), true, !!(lines[i].flags & ML_NOCLIMB), false);
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue