Fixed messed up comparison.

This commit is contained in:
GoldenTails 2019-12-27 23:51:13 -06:00
parent 25f8f2706b
commit f62579811b

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)