From e388efa5eba02ce6909193f700f11fe1385230e9 Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Tue, 18 Jan 2022 10:25:20 +0000 Subject: 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. --- src/sst.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sst.c') 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)) { -- cgit v1.2.3