mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-02-08 06:36:10 +00:00
Unset vortexboost when null checks fail
This commit is contained in:
parent
53129a6b73
commit
2e66e4df8a
1 changed files with 2 additions and 1 deletions
|
|
@ -5180,6 +5180,8 @@ void K_UpdateWavedashIndicator(player_t *player)
|
|||
{
|
||||
mobj_t *mobj = NULL;
|
||||
|
||||
player->vortexBoost = 0;
|
||||
|
||||
if (player == NULL)
|
||||
{
|
||||
return;
|
||||
|
|
@ -5193,7 +5195,6 @@ void K_UpdateWavedashIndicator(player_t *player)
|
|||
if (player->wavedashIndicator == NULL || P_MobjWasRemoved(player->wavedashIndicator) == true)
|
||||
{
|
||||
K_InitWavedashIndicator(player);
|
||||
player->vortexBoost = 0;
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue