mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Hyudoro HUD fix
Really minor gripe, but if you stole an item it wouldn't show up until you finished taking it.
This commit is contained in:
parent
5b20b4d717
commit
a9d31bad34
1 changed files with 5 additions and 1 deletions
|
|
@ -3956,13 +3956,17 @@ static void K_drawKartItem(void)
|
||||||
// The only actual reason is to make sneakers line up this way in the code below
|
// The only actual reason is to make sneakers line up this way in the code below
|
||||||
// This shouldn't have any actual baring over how it functions
|
// This shouldn't have any actual baring over how it functions
|
||||||
// Hyudoro is first, because we're drawing it on top of the player's current item
|
// Hyudoro is first, because we're drawing it on top of the player's current item
|
||||||
if (stplyr->kartstuff[k_stealingtimer] > 0 || stplyr->kartstuff[k_stolentimer] > 0)
|
if (stplyr->kartstuff[k_stolentimer] > 0)
|
||||||
{
|
{
|
||||||
if (leveltime & 2)
|
if (leveltime & 2)
|
||||||
localpatch = kp_hyudoro;
|
localpatch = kp_hyudoro;
|
||||||
else if (!(leveltime & 2))
|
else if (!(leveltime & 2))
|
||||||
localpatch = kp_nodraw;
|
localpatch = kp_nodraw;
|
||||||
}
|
}
|
||||||
|
else if ((stplyr->kartstuff[k_stealingtimer] > 0) && (leveltime & 2))
|
||||||
|
{
|
||||||
|
localpatch = kp_hyudoro;
|
||||||
|
}
|
||||||
else if (stplyr->kartstuff[k_rocketsneakertimer] > 1)
|
else if (stplyr->kartstuff[k_rocketsneakertimer] > 1)
|
||||||
{
|
{
|
||||||
if (leveltime & 1)
|
if (leveltime & 1)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue