Use list files to store vanilla map checksums.

This commit is contained in:
Mari the Deer 2021-06-27 11:13:39 +02:00
commit f3fddfdbcf
6 changed files with 312 additions and 343 deletions

View file

@ -423,7 +423,7 @@ Class Demolitionist : PlayerPawn
DualExplodiumGun(eg.SisterWeapon).chambered = true;
player.ReadyWeapon = player.PendingWeapon = eg;
// in hexdd, we start with the chaos sphere in our grasp
if ( SWWMUtility.IsDeathkings() && SWWMUtility.IsVanillaHexenMap() )
if ( SWWMUtility.IsDeathkings() && SWWMUtility.CheckMD5List("vanillahexen.list") )
{
let cs = Inventory(Spawn('SWWMChaosSphere'));
cs.AttachToOwner(self);