diff options
author | 2025-05-09 17:53:31 +0100 | |
---|---|---|
committer | 2025-05-09 17:57:12 +0100 | |
commit | a462d0fefd4776f64a4f509155314526ebe3bb55 (patch) | |
tree | 83a5d881a71976926575b293c52c75cde5f64ba1 | |
parent | 85ff698e4bfea4da42acfa66df2b30bb3be44a11 (diff) | |
download | sst-0.10-BETA.tar.gz sst-0.10-BETA.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.
-rw-r--r-- | src/l4d1democompat.c | 2 | ||||
-rw-r--r-- | src/sst.c | 20 | ||||
-rw-r--r-- | src/version.h | 4 | ||||
-rw-r--r-- | tools/mkbindist.bat | 4 |
4 files changed, 8 insertions, 22 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); @@ -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" diff --git a/tools/mkbindist.bat b/tools/mkbindist.bat index 0ce721e..cf90dc9 100644 --- a/tools/mkbindist.bat +++ b/tools/mkbindist.bat @@ -21,8 +21,8 @@ md TEMP-%name% || goto :end copy sst.dll TEMP-%name%\sst.dll || goto :end
copy dist\LICENCE.windows TEMP-%name%\LICENCE || goto :end
:: using midnight on release day to make zip deterministic! change on next release!
-powershell (Get-Item TEMP-%name%\sst.dll).LastWriteTime = new-object DateTime 2025, 5, 7, 0, 0, 0
-powershell (Get-Item TEMP-%name%\LICENCE).LastWriteTime = new-object DateTime 2024, 5, 7, 0, 0, 0
+powershell (Get-Item TEMP-%name%\sst.dll).LastWriteTime = new-object DateTime 2025, 5, 9, 0, 0, 0
+powershell (Get-Item TEMP-%name%\LICENCE).LastWriteTime = new-object DateTime 2025, 5, 9, 0, 0, 0
pushd TEMP-%name%
"%SEVENZIP%" a -mtc=off %name%.zip sst.dll LICENCE || goto :end
move %name%.zip ..\release\%name%.zip
|