- Added the Inventory flag IF_NEVERRESPAWN.
SVN r3885 (trunk)
This commit is contained in:
parent
924cd3ef38
commit
81ce8b28f2
3 changed files with 3 additions and 0 deletions
|
|
@ -498,6 +498,7 @@ bool AInventory::SpecialDropAction (AActor *dropper)
|
|||
bool AInventory::ShouldRespawn ()
|
||||
{
|
||||
if ((ItemFlags & IF_BIGPOWERUP) && !(dmflags & DF_RESPAWN_SUPER)) return false;
|
||||
if (ItemFlags & IF_NEVERRESPAWN) return false;
|
||||
return !!(dmflags & DF_ITEMS_RESPAWN);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue