[2.1.7] 'sv_noitems'
Moderator: GZDoom Developers
Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
-
- Posts: 307
- Joined: Wed Aug 23, 2006 7:58 am
[2.1.7] 'sv_noitems'
When 'sv_noitems' is set to 'true' it doesn't work.
- Marcus101RR
- Posts: 250
- Joined: Sun Jul 08, 2007 10:59 am
- Graphics Processor: nVidia (Modern GZDoom)
- Location: USA, Florida
- Contact:
-
- Posts: 307
- Joined: Wed Aug 23, 2006 7:58 am
The following code stopped the powerups respawing for me.
Find:
Replace With:
Find:
Code: Select all
if (dmflags & DF_NO_ITEMS)
{
// if (i->IsDescendantOf (RUNTIME_CLASS(AArtifact)))
// return;
}
Code: Select all
if (dmflags & DF_NO_ITEMS)
{
if (i->IsDescendantOf (RUNTIME_CLASS(APowerupGiver)))
return;
}
- Marcus101RR
- Posts: 250
- Joined: Sun Jul 08, 2007 10:59 am
- Graphics Processor: nVidia (Modern GZDoom)
- Location: USA, Florida
- Contact: