- 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:
parent
208fe28042
commit
5e8c819a33
7 changed files with 21 additions and 11 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue