don't drop the Sad item when stripping
This commit is contained in:
parent
7df2d13c85
commit
28e88e8db1
1 changed files with 1 additions and 1 deletions
|
|
@ -5412,7 +5412,7 @@ void K_DropItems(player_t *player)
|
|||
{
|
||||
K_DropHnextList(player);
|
||||
|
||||
if (player->mo && !P_MobjWasRemoved(player->mo) && player->itemamount > 0)
|
||||
if (player->mo && !P_MobjWasRemoved(player->mo) && player->itemamount > 0 && player->itemtype != MAXKARTITEMS) // don't drop KITEM_SAD
|
||||
{
|
||||
mobj_t *drop = K_CreatePaperItem(
|
||||
player->mo->x, player->mo->y, player->mo->z + player->mo->height/2,
|
||||
|
|
|
|||
Loading…
Reference in a new issue