mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-12 21:01:00 +00:00
Use SPBFORCEDIST for the K_FindUseodds bit
This commit is contained in:
parent
3c34db0b55
commit
7d1d3809b4
1 changed files with 2 additions and 2 deletions
|
@ -1205,7 +1205,7 @@ static INT32 K_FindUseodds(player_t *player, fixed_t mashed, INT32 pingame, INT3
|
||||||
|
|
||||||
if (pingame == 1 && oddsvalid[0])
|
if (pingame == 1 && oddsvalid[0])
|
||||||
{
|
{
|
||||||
// Record Attack, or just alone
|
// Record Attack / FREE PLAY
|
||||||
useodds = 0;
|
useodds = 0;
|
||||||
}
|
}
|
||||||
else if (pdis <= 0)
|
else if (pdis <= 0)
|
||||||
|
@ -1213,7 +1213,7 @@ static INT32 K_FindUseodds(player_t *player, fixed_t mashed, INT32 pingame, INT3
|
||||||
// 1st place
|
// 1st place
|
||||||
useodds = disttable[0];
|
useodds = disttable[0];
|
||||||
}
|
}
|
||||||
else if (player->kartstuff[k_position] == 2 && pdis > (DISTVAR*6)
|
else if (player->kartstuff[k_position] == 2 && pdis > SPBFORCEDIST
|
||||||
&& spbplace == -1 && !indirectitemcooldown && !dontforcespb
|
&& spbplace == -1 && !indirectitemcooldown && !dontforcespb
|
||||||
&& oddsvalid[9])
|
&& oddsvalid[9])
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue