mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-22 02:42:20 +00:00
Dust devil fixes
This commit is contained in:
parent
73146a8338
commit
09868d2999
1 changed files with 4 additions and 1 deletions
|
@ -13104,11 +13104,14 @@ static boolean PIT_DustDevilLaunch(mobj_t *thing)
|
|||
if (dustdevil->height - pos > thresh)
|
||||
{
|
||||
fixed_t dist = FixedHypot(thing->x - dustdevil->x, thing->y - dustdevil->y);
|
||||
fixed_t dragamount = 6 * FRACUNIT;
|
||||
fixed_t dragamount = player->speed;
|
||||
fixed_t x, y;
|
||||
|
||||
if (player->powers[pw_nocontrol] == 0)
|
||||
{
|
||||
P_ResetPlayer(player);
|
||||
A_PlayActiveSound(dustdevil);
|
||||
}
|
||||
player->powers[pw_nocontrol] = 2;
|
||||
player->drawangle += ANG20;
|
||||
P_SetPlayerMobjState(thing, S_PLAY_PAIN);
|
||||
|
|
Loading…
Reference in a new issue