mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-02 06:04:21 +00:00
Merge branch 'bot-fixes' into 'master'
Fix bots having weird rubberbanding in 2.2 See merge request KartKrew/Kart!337
This commit is contained in:
commit
9c912f0cd4
1 changed files with 0 additions and 5 deletions
|
|
@ -1935,11 +1935,6 @@ static void P_3dMovement(player_t *player)
|
||||||
|
|
||||||
totalthrust.x += P_ReturnThrustX(player->mo, movepushangle, movepushforward);
|
totalthrust.x += P_ReturnThrustX(player->mo, movepushangle, movepushforward);
|
||||||
totalthrust.y += P_ReturnThrustY(player->mo, movepushangle, movepushforward);
|
totalthrust.y += P_ReturnThrustY(player->mo, movepushangle, movepushforward);
|
||||||
|
|
||||||
if (K_PlayerUsesBotMovement(player) == true)
|
|
||||||
{
|
|
||||||
K_MomentumToFacing(player);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((totalthrust.x || totalthrust.y)
|
if ((totalthrust.x || totalthrust.y)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue