diff options
author | 2025-02-07 14:22:37 -0500 | |
---|---|---|
committer | 2025-04-06 20:59:36 +0100 | |
commit | dc540372be9da686a3087843ae4ae5f038a3a9a0 (patch) | |
tree | 83467140166992d36977a90b307b92f1d6f501b4 /src/engineapi.c | |
parent | 98f63b5bfc980d5be25ca1daf1bbcf66dc6696ab (diff) | |
download | sst-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/engineapi.c')
-rw-r--r-- | src/engineapi.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/engineapi.c b/src/engineapi.c index a8f4167..cc5f2cf 100644 --- a/src/engineapi.c +++ b/src/engineapi.c @@ -1,6 +1,7 @@ /* * 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 @@ -106,7 +107,7 @@ bool engineapi_init(int pluginver) { if (GAMETYPE_MATCHES(L4D2)) { if (con_findvar("sv_zombie_touch_trigger_delay")) { - _gametype_tag |= _gametype_tag_L4D2_2147plus; + _gametype_tag |= _gametype_tag_L4D2_2125plus; } if (con_findvar("director_cs_weapon_spawn_chance")) { _gametype_tag |= _gametype_tag_TheLastStand; |