mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-02-04 04:36:21 +00:00
Merge branch 'gravedash' into 'master'
Unset vortexboost when null checks fail Closes #1581 See merge request kart-krew-dev/ring-racers-internal!2642
This commit is contained in:
commit
3b399b19cc
1 changed files with 2 additions and 1 deletions
|
|
@ -5183,6 +5183,8 @@ void K_UpdateWavedashIndicator(player_t *player)
|
|||
{
|
||||
mobj_t *mobj = NULL;
|
||||
|
||||
player->vortexBoost = 0;
|
||||
|
||||
if (player == NULL)
|
||||
{
|
||||
return;
|
||||
|
|
@ -5196,7 +5198,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