- added IF_TOSSED inventory flag.
This commit is contained in:
parent
be1a00c537
commit
aa03609b69
3 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue