mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Real dumb bug
This commit is contained in:
parent
2ccc3894e2
commit
46364422d9
1 changed files with 4 additions and 4 deletions
|
|
@ -3974,7 +3974,7 @@ static void K_DoHyudoroSteal(player_t *player)
|
|||
INT32 hyu = hyudorotime;
|
||||
|
||||
if (G_RaceGametype())
|
||||
hyu = (hyu<<1); // double in race
|
||||
hyu *= 2; // double in race
|
||||
|
||||
for (i = 0; i < MAXPLAYERS; i++)
|
||||
{
|
||||
|
|
@ -4001,7 +4001,7 @@ static void K_DoHyudoroSteal(player_t *player)
|
|||
|
||||
if (sink && numplayers > 0 && cv_kitchensink.value) // BEHOLD THE KITCHEN SINK
|
||||
{
|
||||
player->kartstuff[k_hyudorotimer] = hyudorotime;
|
||||
player->kartstuff[k_hyudorotimer] = hyu;
|
||||
player->kartstuff[k_stealingtimer] = stealtime;
|
||||
|
||||
player->kartstuff[k_itemtype] = KITEM_KITCHENSINK;
|
||||
|
|
@ -4011,7 +4011,7 @@ static void K_DoHyudoroSteal(player_t *player)
|
|||
}
|
||||
else if ((G_RaceGametype() && player->kartstuff[k_position] == 1) || numplayers == 0) // No-one can be stolen from? Oh well...
|
||||
{
|
||||
player->kartstuff[k_hyudorotimer] = hyudorotime;
|
||||
player->kartstuff[k_hyudorotimer] = hyu;
|
||||
player->kartstuff[k_stealingtimer] = stealtime;
|
||||
return;
|
||||
}
|
||||
|
|
@ -4026,7 +4026,7 @@ static void K_DoHyudoroSteal(player_t *player)
|
|||
|
||||
if (stealplayer > -1) // Now here's where we do the stealing, has to be done here because we still know the player we're stealing from
|
||||
{
|
||||
player->kartstuff[k_hyudorotimer] = hyudorotime;
|
||||
player->kartstuff[k_hyudorotimer] = hyu;
|
||||
player->kartstuff[k_stealingtimer] = stealtime;
|
||||
players[stealplayer].kartstuff[k_stolentimer] = stealtime;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue