mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-03-31 23:41:31 +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
5ef58e30bd
commit
8d6a2b7f4f
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
|
||||
// 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
|
||||
if (stplyr->kartstuff[k_stealingtimer] > 0 || stplyr->kartstuff[k_stolentimer] > 0)
|
||||
if (stplyr->kartstuff[k_stolentimer] > 0)
|
||||
{
|
||||
if (leveltime & 2)
|
||||
localpatch = kp_hyudoro;
|
||||
else if (!(leveltime & 2))
|
||||
localpatch = kp_nodraw;
|
||||
}
|
||||
else if ((stplyr->kartstuff[k_stealingtimer] > 0) && (leveltime & 2))
|
||||
{
|
||||
localpatch = kp_hyudoro;
|
||||
}
|
||||
else if (stplyr->kartstuff[k_rocketsneakertimer] > 1)
|
||||
{
|
||||
if (leveltime & 1)
|
||||
|
|
Loading…
Reference in a new issue