mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
The real problem
This commit is contained in:
parent
082d253553
commit
6a4eb721bd
2 changed files with 0 additions and 10 deletions
|
|
@ -473,10 +473,6 @@ fixed_t K_BotTopSpeedRubberband(player_t *player)
|
||||||
--------------------------------------------------*/
|
--------------------------------------------------*/
|
||||||
fixed_t K_BotFrictionRubberband(player_t *player, fixed_t frict)
|
fixed_t K_BotFrictionRubberband(player_t *player, fixed_t frict)
|
||||||
{
|
{
|
||||||
#if 1
|
|
||||||
(void)player;
|
|
||||||
return frict;
|
|
||||||
#else
|
|
||||||
fixed_t rubberband = K_BotRubberband(player) - FRACUNIT;
|
fixed_t rubberband = K_BotRubberband(player) - FRACUNIT;
|
||||||
fixed_t newfrict;
|
fixed_t newfrict;
|
||||||
|
|
||||||
|
|
@ -494,7 +490,6 @@ fixed_t K_BotFrictionRubberband(player_t *player, fixed_t frict)
|
||||||
newfrict = FRACUNIT;
|
newfrict = FRACUNIT;
|
||||||
|
|
||||||
return newfrict;
|
return newfrict;
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*--------------------------------------------------
|
/*--------------------------------------------------
|
||||||
|
|
|
||||||
|
|
@ -1941,11 +1941,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