mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-26 05:51:20 +00:00
- allow artifacts that do not automatically activate to be given by the 'give artifacts' cheat
This commit is contained in:
parent
a97a2ec133
commit
36245ae598
1 changed files with 1 additions and 1 deletions
|
@ -207,7 +207,7 @@ extend class PlayerPawn
|
|||
if (type!= null)
|
||||
{
|
||||
let def = GetDefaultByType (type);
|
||||
if (def.Icon.isValid() && def.MaxAmount > 1 &&
|
||||
if (def.Icon.isValid() && (def.MaxAmount > 1 || def.bAutoActivate == false) &&
|
||||
!(type is "PuzzleItem") && !(type is "Powerup") && !(type is "Ammo") && !(type is "Armor"))
|
||||
{
|
||||
// Do not give replaced items unless using "give everything"
|
||||
|
|
Loading…
Reference in a new issue