From dc540372be9da686a3087843ae4ae5f038a3a9a0 Mon Sep 17 00:00:00 2001 From: Hayden K Date: Fri, 7 Feb 2025 14:22:37 -0500 Subject: 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. --- src/engineapi.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/engineapi.c') 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 * Copyright © 2023 Willian Henrique + * Copyright © 2025 Hayden K * * 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; -- cgit v1.2.3-54-g00ecf