Key refactor. They act as pure "item givers" now.
This commit is contained in:
parent
b19c9aa2d8
commit
312c433ed3
5 changed files with 28 additions and 67 deletions
|
|
@ -3,6 +3,7 @@
|
|||
extend Class SWWMHandler
|
||||
{
|
||||
bool nugflip; // h/a nugget flip-flop spawn counter
|
||||
bool equinoxhack; // hackaround for UseInventory
|
||||
|
||||
private Class<Actor> GetDRLAReplacee( Class<Actor> a )
|
||||
{
|
||||
|
|
@ -591,7 +592,7 @@ extend Class SWWMHandler
|
|||
}
|
||||
else if ( (e.Replacee is 'RedCard') && !(e.Replacee is 'ChexRedCard') )
|
||||
{
|
||||
if ( level.GetChecksum() ~== "3805A661D5C4523AFF7BF86991071043" )
|
||||
if ( !equinoxhack && (level.GetChecksum() ~== "3805A661D5C4523AFF7BF86991071043") )
|
||||
{
|
||||
if ( profiling ) checkreplacement_ms += MSTime()-curms;
|
||||
return; // don't replace red key in Equinox MAP13
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue