summaryrefslogtreecommitdiff
path: root/src/l4d1democompat.c
diff options
context:
space:
mode:
authorGravatar Michael Smith <mikesmiffy128@gmail.com> 2025-05-09 17:53:31 +0100
committerGravatar Michael Smith <mikesmiffy128@gmail.com> 2025-05-09 17:57:12 +0100
commita462d0fefd4776f64a4f509155314526ebe3bb55 (patch)
tree83a5d881a71976926575b293c52c75cde5f64ba1 /src/l4d1democompat.c
parent85ff698e4bfea4da42acfa66df2b30bb3be44a11 (diff)
downloadsst-945b418b4f5bdb4f3e59985892a3d298c429bc5a.tar.gz
sst-945b418b4f5bdb4f3e59985892a3d298c429bc5a.zip
Fix L4D1 crash for yet another immediate bugfix releasev0.10-BETA
Every. Single. Time. And having screwed up the zip dates was just a bonus I suppose.
Diffstat (limited to 'src/l4d1democompat.c')
-rw-r--r--src/l4d1democompat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/l4d1democompat.c b/src/l4d1democompat.c
index 8cf0d5f..1cfe959 100644
--- a/src/l4d1democompat.c
+++ b/src/l4d1democompat.c
@@ -160,7 +160,7 @@ INIT {
"ReadDemoHeader");
if_cold (h2.err) return h2.err;
struct hook_inline_featsetup_ret h3 = hook_inline_featsetup(
- ReadDemoHeader_midpoint, (void **)&hook_midpoint,
+ ReadDemoHeader_midpoint, &ReadDemoHeader_midpoint,
"ReadDemoHeader midpoint");
if_cold (h3.err) return h3.err;
hook_inline_commit(h1.prologue, (void *)&hook_GetHostVersion);