Moved K_DropRocketSneaker call into K_StripItems

This should catch when DropHnextList misses it
Should probably fix sinks too ...
This commit is contained in:
Ashnal 2020-07-15 09:17:35 -04:00
parent 3bccf01d4f
commit 6562c9b755
2 changed files with 1 additions and 3 deletions

View File

@ -3577,7 +3577,6 @@ static void K_DoShrink(player_t *user)
&& !players[i].kartstuff[k_hyudorotimer])
{
// Start shrinking!
K_DropRocketSneaker(&players[i]); //Make sure we handle this
K_DropItems(&players[i]);
players[i].kartstuff[k_growshrinktimer] = -(20*TICRATE);
@ -5242,7 +5241,7 @@ void K_StripItems(player_t *player)
player->kartstuff[k_itemamount] = 0;
player->kartstuff[k_itemheld] = 0;
player->kartstuff[k_rocketsneakertimer] = 0;
K_DropRocketSneaker(player);
if (!player->kartstuff[k_itemroulette] || player->kartstuff[k_roulettetype] != 2)
{

View File

@ -408,7 +408,6 @@ void P_TouchSpecialThing(mobj_t *special, mobj_t *toucher, boolean heightcheck)
}
else
{
K_DropRocketSneaker(player);
K_DropItems(player); //K_StripItems(player);
//K_StripOther(player);
player->kartstuff[k_itemroulette] = 1;