diff options
| author | 2025-10-11 01:35:54 +0100 | |
|---|---|---|
| committer | 2025-10-11 01:36:16 +0100 | |
| commit | b447f5879d0c4c49d72f167ed2cf0f1e44a52123 (patch) | |
| tree | 7b20bb65b7acc2826591af01d531baf8281ae79b /src/fixes.c | |
| parent | e3716a68c1b4f1b189065dda1a1e998715c8ede9 (diff) | |
| download | sst-b447f5879d0c4c49d72f167ed2cf0f1e44a52123.tar.gz sst-b447f5879d0c4c49d72f167ed2cf0f1e44a52123.zip | |
Handle negated gamedata tag matches properly
The NE thing wasn't really correct, because it would match hypothetical
cases where OE and some other tag bit are both set. Now we simply use
!OE instead. The _GAMES_WITH inversion case is correct, because it
doesn't necessarily exclude OE from being included too.
Diffstat (limited to 'src/fixes.c')
| -rw-r--r-- | src/fixes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fixes.c b/src/fixes.c index d4b5330..733616b 100644 --- a/src/fixes.c +++ b/src/fixes.c @@ -91,8 +91,8 @@ static void generalfixes() { // fps_max policy varies a bit between speedgames and their communities! // in theory we might wanna remove CON_NOTCONN on Portal 1 in a future // release, but for now people haven't fully talked themselves into it. - struct con_var *v = con_findvar("fps_max"); if (GAMETYPE_MATCHES(L4Dx)) { + struct con_var *v = con_findvar("fps_max"); // for L4D games, generally changing anything above normal limits is // disallowed, but externally capping FPS will always be possible so we // might as well allow lowering it ingame for convenience. |
