diff --git a/src/k_items.c b/src/k_items.c index 256b467cc..749deb2e5 100644 --- a/src/k_items.c +++ b/src/k_items.c @@ -1740,6 +1740,10 @@ static void K_DoHyudoroSteal(player_t *player) player->itemamount = 1; K_UnsetItemOut(player); + // Add the Sink roll to the list + if (itemlistactive) + K_AddItemRollToList((INT32)(player - players), KITEM_KITCHENSINK, 1); + // Woah this could be big, lets get the inside scoop... K_DirectorForceSwitch(player - players, 1); return; @@ -1761,6 +1765,13 @@ static void K_DoHyudoroSteal(player_t *player) player->itemamount = players[stealplayer].itemamount; K_UnsetItemOut(player); + if (itemlistactive) + { + K_AddItemRollToList((INT32)(player - players), + players[stealplayer].itemtype, + players[stealplayer].itemamount); + } + players[stealplayer].itemtype = KITEM_NONE; players[stealplayer].itemamount = 0; K_UnsetItemOut(&players[stealplayer]); diff --git a/src/p_inter.c b/src/p_inter.c index f4e492c5a..de8dbbca7 100644 --- a/src/p_inter.c +++ b/src/p_inter.c @@ -355,6 +355,14 @@ void P_TouchSpecialThing(mobj_t *special, mobj_t *toucher, boolean heightcheck) else player->itemamount += special->movecount; + // Add the pickup to our roll list + if (itemlistactive) + { + K_AddItemRollToList((INT32)(player - players), + player->itemtype, + player->itemamount); + } + S_StartSound(special, special->info->deathsound); P_SetTarget(&special->tracer, toucher);