mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-23 16:32:36 +00:00
Allow better steering from trick MT release
This commit is contained in:
parent
6867fcfba3
commit
a83dd187d8
1 changed files with 15 additions and 4 deletions
11
src/k_kart.c
11
src/k_kart.c
|
|
@ -10865,11 +10865,22 @@ static void K_KartDrift(player_t *player, boolean onground)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (player->trickcharge && dokicker)
|
if (player->trickcharge && dokicker)
|
||||||
|
{
|
||||||
|
// 2.2 - Egg-friendly trick stuff
|
||||||
|
if (G_CompatLevel(0x000A))
|
||||||
{
|
{
|
||||||
player->driftboost += 20;
|
player->driftboost += 20;
|
||||||
player->wavedashboost += 10;
|
player->wavedashboost += 10;
|
||||||
player->wavedashpower = FRACUNIT;
|
player->wavedashpower = FRACUNIT;
|
||||||
P_Thrust(player->mo, pushdir, player->speed / 2);
|
P_Thrust(player->mo, pushdir, player->speed / 2);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
player->driftboost += TICRATE;
|
||||||
|
player->flamedash += TICRATE/2;
|
||||||
|
P_Thrust(player->mo, pushdir, player->speed / 6);
|
||||||
|
}
|
||||||
|
|
||||||
S_StartSound(player->mo, sfx_gshba);
|
S_StartSound(player->mo, sfx_gshba);
|
||||||
player->trickcharge = 0;
|
player->trickcharge = 0;
|
||||||
player->infinitether = TICRATE*2;
|
player->infinitether = TICRATE*2;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue