Run speed calc for pogosprings
This commit is contained in:
parent
fef77b3be4
commit
40927a2760
1 changed files with 1 additions and 1 deletions
|
|
@ -405,7 +405,7 @@ static fixed_t K_BotSpeedScaled(const player_t *player, fixed_t speed)
|
|||
{
|
||||
fixed_t result = speed;
|
||||
|
||||
if (P_IsObjectOnGround(player->mo) == false)
|
||||
if (!player->pogospring && P_IsObjectOnGround(player->mo) == false)
|
||||
{
|
||||
// You have no air control, so don't predict too far ahead.
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue