- fixed checks in Powerup.Type property to properly deal with the differences between DECORATE and ZScript.

- properly initialize Baggage everywhere it gets used.
- fixed a few items with incorrect Powerup.Type settings that got flagged by the above changes.
This commit is contained in:
Christoph Oelckers 2016-11-07 11:53:49 +01:00
commit 5e8c819a33
7 changed files with 21 additions and 11 deletions

View file

@ -1897,7 +1897,7 @@ void ZCCCompiler::InitDefaults()
bag.Info = ti;
bag.DropItemSet = false;
bag.StateSet = false;
bag.fromZScript = true;
bag.fromDecorate = false;
bag.CurrentState = 0;
bag.Lumpnum = c->cls->SourceLump;
bag.DropItemList = nullptr;