mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Fix ring values being flipped
This commit is contained in:
parent
b27f1d89c3
commit
5dec13c848
1 changed files with 1 additions and 2 deletions
|
|
@ -637,7 +637,6 @@ void K_BuildBotTiccmd(player_t *player, ticcmd_t *cmd)
|
|||
{
|
||||
fixed_t speedmul = FixedMul(player->speed, K_GetKartSpeed(player, false));
|
||||
fixed_t speedrad = rad/4;
|
||||
|
||||
|
||||
if (speedmul > FRACUNIT)
|
||||
{
|
||||
|
|
@ -690,7 +689,7 @@ void K_BuildBotTiccmd(player_t *player, ticcmd_t *cmd)
|
|||
{
|
||||
if (!player->exiting)
|
||||
{
|
||||
INT32 saferingsval = 8 + K_GetKartRingPower(player);
|
||||
INT32 saferingsval = 16 - K_GetKartRingPower(player);
|
||||
|
||||
if (player->speed < K_GetKartSpeed(player, false)/2 // Being slowed down too much
|
||||
|| player->kartstuff[k_speedboost] > 0) // Have another type of boost (tethering)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue