aboutsummaryrefslogtreecommitdiff
path: root/src/fastfwd.c
diff options
context:
space:
mode:
authorGravatar Hayden K <imaciidz@gmail.com> 2025-02-07 14:22:37 -0500
committerGravatar Michael Smith <mikesmiffy128@gmail.com> 2025-04-06 20:59:36 +0100
commitdc540372be9da686a3087843ae4ae5f038a3a9a0 (patch)
tree83467140166992d36977a90b307b92f1d6f501b4 /src/fastfwd.c
parent98f63b5bfc980d5be25ca1daf1bbcf66dc6696ab (diff)
downloadsst-dc540372be9da686a3087843ae4ae5f038a3a9a0.tar.gz
sst-dc540372be9da686a3087843ae4ae5f038a3a9a0.zip
Rename L4D2_2147plus gametype tag to L4D2_2125plus
Turns out the cvar we use to detect 2147 was actually added in 2125. Since renaming it doesn't currently break anything (and 2125 was a fairly notable code shuffling update, given it was the first update with a native Linux build of the game), it makes most sense to just do this.
Diffstat (limited to 'src/fastfwd.c')
-rw-r--r--src/fastfwd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fastfwd.c b/src/fastfwd.c
index 7378b04..fa45beb 100644
--- a/src/fastfwd.c
+++ b/src/fastfwd.c
@@ -2,6 +2,7 @@
* Copyright © 2023 Matthew Wozniak <sirtomato999@gmail.com>
* Copyright © 2025 Michael Smith <mikesmiffy128@gmail.com>
* Copyright © 2023 Willian Henrique <wsimanbrazil@yahoo.com.br>
+ * 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
@@ -221,7 +222,7 @@ INIT {
errmsg_errorx("couldn't find FrameUpdate function");
return FEAT_INCOMPAT;
}
- if_cold (!(func = find_floatcall(func, GAMETYPE_MATCHES(L4D2_2147plus) ?
+ if_cold (!(func = find_floatcall(func, GAMETYPE_MATCHES(L4D2_2125plus) ?
2 : 1, "CHostState::State_Run"))) {
errmsg_errorx("couldn't find State_Run function");
return FEAT_INCOMPAT;