CompatFlags values carry over between different WADs
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: 141
- Joined: Sun Apr 04, 2010 9:36 pm
CompatFlags values carry over between different WADs
DMFlags are always reset every time you load up GZDoom. CompatFlags, however, do not. This often causes issues when one manually sets specific CompatFlags to play WADs designed for vanilla, for example, but as one would assume that CompatFlags are reset much like DMFlags, they unknowingly play newer wads with those flags carried over instead, sometimes leading to unintentional behaviour and bugs. The player should be right to assume that DMFlags and CompatFlags are standardised in how they both reset with each new instance of GZDoom.
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49234
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: CompatFlags values carry over between different WADs
What makes you think this is a *bug*?
Re: CompatFlags values carry over between different WADs
I would expect them all to behave consistently - either they all save or they don't. Got caught in the situation OP describe a few times myself - was playing some old WADs with compatibility, then forgot to turn them off for playing modern WADs.
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49234
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: CompatFlags values carry over between different WADs
You know how it goes - change these things and you get even louder complaints. The assumption when implementing it like this probably was that it is likely that these flags need to persist across interrupted game sessions but the multiplayer relevant dmflags don't.