0
0
Fork 0
mirror of https://git.do.srb2.org/STJr/SRB2.git synced 2025-02-17 17:41:57 +00:00

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)