mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
FixedDiv should be here instead of FixedMul
This commit is contained in:
parent
896c6b3952
commit
5f97070a47
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue