Fixed messed up comparison.

This commit is contained in:
GoldenTails 2019-12-27 23:51:13 -06:00
parent edd6f743ec
commit 655de1aca8

View file

@ -4638,7 +4638,7 @@ static void P_DoSpinAbility(player_t *player, ticcmd_t *cmd)
if (player->dashspeed < player->mindash)
player->dashspeed = player->mindash;
if (player->dashspeed < player->maxdash)
if (player->dashspeed > player->maxdash)
player->dashspeed = player->maxdash;
if (player->dashspeed < player->maxdash && player->mindash != player->maxdash)