summaryrefslogtreecommitdiff
path: root/src
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
parent85ff698e4bfea4da42acfa66df2b30bb3be44a11 (diff)
downloadsst-a462d0fefd4776f64a4f509155314526ebe3bb55.tar.gz
sst-a462d0fefd4776f64a4f509155314526ebe3bb55.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')
-rw-r--r--src/l4d1democompat.c2
-rw-r--r--src/sst.c20
-rw-r--r--src/version.h4
3 files changed, 6 insertions, 20 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);
diff --git a/src/sst.c b/src/sst.c
index a6e4d2d..45c5f80 100644
--- a/src/sst.c
+++ b/src/sst.c
@@ -240,11 +240,11 @@ DEF_CCMD_HERE(sst_printversion, "Display plugin version information", 0) {
// interested parties identify the version of SST used by just writing a dummy
// cvar to the top of the demo. this will be removed later, once there's a less
// stupid way of achieving the same goal.
-#if VERSION_MAJOR != 0 || VERSION_MINOR != 9
+#if VERSION_MAJOR != 0 || VERSION_MINOR != 10
#error Need to change this manually, since gluegen requires it to be spelled \
out in DEF_CVAR - better yet, can we get rid of this yet?
#endif
-DEF_CVAR(__sst_0_9_beta, "", 0, CON_HIDDEN | CON_DEMO)
+DEF_CVAR(__sst_0_10_beta, "", 0, CON_HIDDEN | CON_DEMO)
// most plugin callbacks are unused - define dummy functions for each signature
static void VCALLCONV nop_v_v(void *this) {}
@@ -270,21 +270,7 @@ static bool already_loaded = false, skip_unload = false;
// auto-update message. see below in do_featureinit()
static const char *updatenotes = "\
-* Fixed the plugin crashing on game exit\n\
-* Fixed a crash under Wine/Proton\n\
-* Fixed sst_l4d_quickreset in L4D1 No Mercy\n\
-* Added sst_inputhud to visualise inputs in-game or in demo playback\n\
-* Increased sst_mouse_factor limit from 20 to 100\n\
-* sst_l4d_testwarp now performs the take-control unsticking step by default\n\
-* Added sst_l4d_previewwarp to visualise warp unsticking logic\n\
-* sst_l4d_quickreset now fixes the Swamp Fever/Crash Course \"god mode glitch\"\n\
-* Added a fix for lag/stuttering in newer L4D2 versions caused by addon loading\n\
-* Added a fix for disabling all addons in L4D2 requiring a game restart\n\
-* Removed multiplayer chat rate limit in L4D series and Portal 2\n\
-* Made L4D1 demo playback backwards-compatible for Steam version demos (1022+)\n\
-* plugin_unload now displays an error when used incorrectly (without a number)\n\
-* Improved error messages in the event of functions failing to hook\n\
-* Rewrote and optimised a whole bunch of internal stuff\n\
+* Fixed crashing on L4D1\n\
";
enum { // used in generated code, must line up with featmsgs arrays below
diff --git a/src/version.h b/src/version.h
index fc82f66..9f7e769 100644
--- a/src/version.h
+++ b/src/version.h
@@ -1,5 +1,5 @@
#define NAME "SST"
#define LONGNAME "Source Speedrun Tools Beta"
#define VERSION_MAJOR 0
-#define VERSION_MINOR 9
-#define VERSION "0.9"
+#define VERSION_MINOR 10
+#define VERSION "0.10"