mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Fix Aerial Highlands clouds taking away drift
This commit is contained in:
parent
f5a4f079ec
commit
29d6169bf5
1 changed files with 2 additions and 1 deletions
|
|
@ -17,6 +17,7 @@
|
||||||
#include "../s_sound.h"
|
#include "../s_sound.h"
|
||||||
#include "../r_main.h"
|
#include "../r_main.h"
|
||||||
#include "../m_random.h"
|
#include "../m_random.h"
|
||||||
|
#include "../k_hitlag.h"
|
||||||
|
|
||||||
|
|
||||||
#define BULB_ZTHRUST 96*FRACUNIT
|
#define BULB_ZTHRUST 96*FRACUNIT
|
||||||
|
|
@ -143,7 +144,6 @@ void Obj_PlayerCloudThink(player_t *player)
|
||||||
if (player->cloud)
|
if (player->cloud)
|
||||||
{
|
{
|
||||||
player->cloud--;
|
player->cloud--;
|
||||||
P_InstaThrust(mo, 0, 0);
|
|
||||||
mo->momz = 0;
|
mo->momz = 0;
|
||||||
player->fastfall = 0;
|
player->fastfall = 0;
|
||||||
|
|
||||||
|
|
@ -157,6 +157,7 @@ void Obj_PlayerCloudThink(player_t *player)
|
||||||
player->cloudlaunch = TICRATE;
|
player->cloudlaunch = TICRATE;
|
||||||
|
|
||||||
P_InstaThrust(mo, mo->cusval, mo->cvmem);
|
P_InstaThrust(mo, mo->cusval, mo->cvmem);
|
||||||
|
K_AddHitLag(mo, 6, false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue