diff options
author | 2025-04-07 15:51:59 -0400 | |
---|---|---|
committer | 2025-04-07 21:20:59 +0100 | |
commit | c66757ca2bc7a9e839bdac65e8cd964fcb0a5c6d (patch) | |
tree | 6504f906b1023a7d3588f4fbf17b65b5f41a9085 | |
parent | c21c6e9055c9ebe7a4d6bf20210b4001a7222028 (diff) | |
download | sst-c66757ca2bc7a9e839bdac65e8cd964fcb0a5c6d.tar.gz sst-c66757ca2bc7a9e839bdac65e8cd964fcb0a5c6d.zip |
Fix quickreset not working on L4D1 Apartments
Confusingly, the old matchmaking interface refers to No Mercy as
apartments (plural), but refers to the first level as apartment
(singular). Good meme.
-rw-r--r-- | src/l4dmm.c | 3 | ||||
-rw-r--r-- | src/sst.c | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/l4dmm.c b/src/l4dmm.c index 8d831fe..bef3d8f 100644 --- a/src/l4dmm.c +++ b/src/l4dmm.c @@ -1,5 +1,6 @@ /* * Copyright © 2025 Michael Smith <mikesmiffy128@gmail.com> + * Copyright © 2025 Hayden K <imaciidz@gmail.com> * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -103,7 +104,7 @@ bool l4dmm_firstmap() { "CONTEXT_L4D_LEVEL"); if (!ctxt) return 0; if (strncmp(ctxt->val, "CONTEXT_L4D_LEVEL_", 18)) return false; - return !strcmp(ctxt->val + 18, "APARTMENTS") || + return !strcmp(ctxt->val + 18, "APARTMENT") || !strcmp(ctxt->val + 18, "CAVES") || !strcmp(ctxt->val + 18, "GREENHOUSE") || !strcmp(ctxt->val + 18, "HILLTOP"); @@ -272,6 +272,7 @@ static bool already_loaded = false, skip_unload = false; static const char *updatenotes = "\ * Fixed the plugin crashing on game exit\n\ * Fixed a crash under Wine/Proton\n\ +* Fixed sst_l4d_quickreset in L4D1 No Mercy\n\ * Added sst_inputhud to visualise inputs in-game or in demo playback\n\ * Increased sst_mouse_factor limit from 20 to 100\n\ * sst_l4d_testwarp now performs the take-control unsticking step by default\n\ |