- added IF_TOSSED inventory flag.

This commit is contained in:
Christoph Oelckers 2013-08-12 21:00:23 +02:00
commit aa03609b69
3 changed files with 4 additions and 0 deletions

View file

@ -3088,6 +3088,7 @@ AInventory *P_DropItem (AActor *source, const PClass *type, int dropamount, int
{
AInventory * inv = static_cast<AInventory *>(mo);
ModifyDropAmount(inv, dropamount);
inv->ItemFlags |= IF_TOSSED;
if (inv->SpecialDropAction (source))
{
// The special action indicates that the item should not spawn