mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Fix pflags not being properly reset when entering dust devil from top
This commit is contained in:
parent
ebcd9923b1
commit
4be3a0706c
1 changed files with 1 additions and 1 deletions
|
|
@ -13614,12 +13614,12 @@ static boolean PIT_DustDevilLaunch(mobj_t *thing)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{ //Player on the top of the tornado.
|
{ //Player on the top of the tornado.
|
||||||
|
P_ResetPlayer(player);
|
||||||
thing->z = dustdevil->z + dustdevil->height;
|
thing->z = dustdevil->z + dustdevil->height;
|
||||||
thrust = 20 * FRACUNIT;
|
thrust = 20 * FRACUNIT;
|
||||||
player->powers[pw_nocontrol] = 0;
|
player->powers[pw_nocontrol] = 0;
|
||||||
S_StartSound(thing, sfx_wdjump);
|
S_StartSound(thing, sfx_wdjump);
|
||||||
P_SetPlayerMobjState(thing, S_PLAY_FALL);
|
P_SetPlayerMobjState(thing, S_PLAY_FALL);
|
||||||
player->pflags &= ~PF_JUMPED;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
thing->momz = thrust;
|
thing->momz = thrust;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue