GZDoom 4.5.0 compat fixes.

This commit is contained in:
Mari the Deer 2021-03-21 12:01:11 +01:00
commit d0287b7ade
4 changed files with 10 additions and 5 deletions

View file

@ -183,7 +183,7 @@ extend Class SWWMHandler
private bool SuppressMultiItem( WorldEvent e )
{
// quick checks
if ( !G_SkillPropertyInt(SKILLP_SpawnMulti) || multiplayer || (dmflags2&(1<<29)) ) // wow there's no dmflags constants defined in zscript???
if ( !G_SkillPropertyInt(SKILLP_SpawnMulti) || multiplayer || sv_alwaysspawnmulti )
return false;
// is it coop inventory? suppress it
if ( (e.Thing.spawnflags&(MTF_COOPERATIVE|MTF_DEATHMATCH)) && !(e.Thing.spawnflags&MTF_SINGLE) && (e.Thing is 'Inventory') )