FixedDiv should be here instead of FixedMul

This commit is contained in:
Sally Coolatta 2020-05-28 18:29:00 -04:00
parent 896c6b3952
commit 5f97070a47

View file

@ -741,7 +741,7 @@ void K_BuildBotTiccmd(player_t *player, ticcmd_t *cmd)
if (dirdist <= rad)
{
fixed_t speedmul = FixedMul(player->speed, K_GetKartSpeed(player, false));
fixed_t speedmul = FixedDiv(player->speed, K_GetKartSpeed(player, false));
fixed_t speedrad = rad/4;
if (speedmul > FRACUNIT)