From b36e90b5500e3d3baa3d02d1859d39c09a728689 Mon Sep 17 00:00:00 2001 From: Hayden K Date: Fri, 4 Apr 2025 01:02:07 +0100 Subject: Fix broken behaviour in the L4D2 addon system This should greatly improve the experience of running newest/TLS as well as custom campaigns. The bugginess in question is quite a lot to explain so there's some rather substantial exposition via code comments. The actual fixes are comparatively simple, although still a little subtle to get exactly right and took a few iterations to nail down the edge cases. Thanks to bill for helping me with the RE & assistance on writing the hooks/code and so on. I tracked down a lot of this myself, but the end result wouldn't have been possible without his help. Committers' note: I ended up wrangling this change a fair bit, as I am apparently just always wont to do, and also fixed a bug in the process, hence adding my copyright notice as well. Nonetheless, big thanks to aciidz (and bill) for doing the bulk of the *actual* hard work of figuring out how to do any of this! The actual code changes I made to the original submitted patch were relatively minor; a lot of my effort honestly went into attempting to shorten the massive wall of comment text. At the end of the day, there's still a really long comment, but it's just a lot to explain really so it is what it is. I hope it's at least somewhat understandable to a reader, anyway. --- compile.bat | 1 + 1 file changed, 1 insertion(+) (limited to 'compile.bat') diff --git a/compile.bat b/compile.bat index 8b0e877..20df825 100644 --- a/compile.bat +++ b/compile.bat @@ -88,6 +88,7 @@ setlocal DisableDelayedExpansion :+ hud.c :+ inputhud.c :+ kvsys.c +:+ l4daddon.c :+ l4dmm.c :+ l4dreset.c :+ l4dwarp.c -- cgit v1.2.3-54-g00ecf