mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-03-14 15:11:40 +00:00
If I ever see another macro I'm going to burn down John Carmack's house
This commit is contained in:
parent
4c927b09d1
commit
47a63e1ca2
1 changed files with 2 additions and 2 deletions
|
|
@ -7926,7 +7926,7 @@ void K_KartPlayerThink(player_t *player, ticcmd_t *cmd)
|
|||
player->guardCooldown--;
|
||||
|
||||
if (player->whip && P_MobjWasRemoved(player->whip))
|
||||
player->whip = P_SetTarget(&player->whip, NULL);
|
||||
P_SetTarget(&player->whip, NULL);
|
||||
|
||||
if (player->startboost > 0 && onground == true)
|
||||
{
|
||||
|
|
@ -10637,7 +10637,7 @@ void K_MoveKartPlayer(player_t *player, boolean onground)
|
|||
player->guardCooldown = 50;
|
||||
S_StartSound(player->mo, sfx_iwhp);
|
||||
mobj_t *whip = P_SpawnMobj(player->mo->x, player->mo->y, player->mo->z, MT_INSTAWHIP);
|
||||
player->whip = P_SetTarget(&player->whip, whip);
|
||||
P_SetTarget(&player->whip, whip);
|
||||
P_SetScale(whip, player->mo->scale);
|
||||
P_SetTarget(&whip->target, player->mo);
|
||||
K_MatchGenericExtraFlags(whip, player->mo);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue