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:
TehRealSalt 2018-06-18 22:43:23 -04:00
parent 5ef58e30bd
commit 8d6a2b7f4f

View file

@ -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)