mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-26 12:01:47 +00:00
Merge branch 'hybrid-lightning-thrust' into 'master'
Lightning Shield momentum/facing blend See merge request kart-krew-dev/ring-racers-internal!2767
This commit is contained in:
commit
bc5f104f68
1 changed files with 2 additions and 1 deletions
|
|
@ -11189,7 +11189,8 @@ void K_KartPlayerThink(player_t *player, ticcmd_t *cmd)
|
||||||
if (player->lightningcharge == LIGHTNING_CHARGE)
|
if (player->lightningcharge == LIGHTNING_CHARGE)
|
||||||
{
|
{
|
||||||
K_DoLightningShield(player);
|
K_DoLightningShield(player);
|
||||||
P_Thrust(player->mo, onground ? player->mo->angle : K_MomentumAngle(player->mo), 100*player->mo->scale);
|
P_Thrust(player->mo, K_MomentumAngle(player->mo), 50*player->mo->scale);
|
||||||
|
P_Thrust(player->mo, onground ? player->mo->angle : K_MomentumAngle(player->mo), 50*player->mo->scale);
|
||||||
// player->tiregrease = TICRATE/4;
|
// player->tiregrease = TICRATE/4;
|
||||||
player->lightningcharge = 0;
|
player->lightningcharge = 0;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue