mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Merge branch 'super-upside-down-spring' into 'master'
2x vertical speed for downward springs See merge request KartKrew/Kart!483
This commit is contained in:
commit
e009f1ebab
1 changed files with 3 additions and 0 deletions
|
|
@ -310,6 +310,9 @@ boolean P_DoSpring(mobj_t *spring, mobj_t *object)
|
|||
if (spring->eflags & MFE_VERTICALFLIP)
|
||||
vertispeed *= -1;
|
||||
|
||||
if ((spring->eflags ^ object->eflags) & MFE_VERTICALFLIP)
|
||||
vertispeed *= 2;
|
||||
|
||||
// Vertical springs teleport you on TOP of them.
|
||||
if (vertispeed > 0)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue