summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMichael Smith <mikesmiffy128@gmail.com>2022-01-18 10:25:20 +0000
committerMichael Smith <mikesmiffy128@gmail.com>2022-01-18 10:26:05 +0000
commite388efa5eba02ce6909193f700f11fe1385230e9 (patch)
tree33e6d057f24ebbca8bac6201c91c41f462416b7a
parent75a25e24b18ce6ac9dcfc7482aa693b600661799 (diff)
Extend nag removal to L4DS too
This was a smaller oversight in the crash fix commit. I'd thought about it, but forgotten to do it.
-rw-r--r--src/sst.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sst.c b/src/sst.c
index 9cf21c2..032aa86 100644
--- a/src/sst.c
+++ b/src/sst.c
@@ -135,7 +135,7 @@ nc: gamedata_init();
// NOTE: this is technically redundant for early versions but I CBA writing
// a version check; it's easier to just do this unilaterally.
- if (GAMETYPE_MATCHES(L4D2)) {
+ if (GAMETYPE_MATCHES(L4D2x)) {
void *kvs = KeyValuesSystem();
kvsvt = *(void ***)kvs;
if (!os_mprot(kvsvt + 4, sizeof(void *), PAGE_READWRITE)) {