diff options
| author | 2025-11-25 19:40:20 +0000 | |
|---|---|---|
| committer | 2025-11-25 19:44:59 +0000 | |
| commit | 447aa3e9d2983a8fd74e7f8371bf88ece291bd69 (patch) | |
| tree | 7b4a5e84655fdb5f5f48f8b5e39160303bdc0434 /src | |
| parent | 04b465b8914bb8a0965e137dd1a5bd14f2963482 (diff) | |
| download | sst-447aa3e9d2983a8fd74e7f8371bf88ece291bd69.tar.gz sst-447aa3e9d2983a8fd74e7f8371bf88ece291bd69.zip | |
Fix input HUD crash in L4D gamesHEADv0.16-BETAmaster
I screwed up merging Evan's changes, and also didn't have that one
REQUIRE_GAMEDATA for some reason, and also didn't test actually turning
on the sst_inputhud cvar once everything had loaded fine in testing.
Unlucky, I guess. Better testing might still have caught it.
Diffstat (limited to 'src')
| -rw-r--r-- | src/hud.c | 1 | ||||
| -rw-r--r-- | src/sst.c | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -47,6 +47,7 @@ REQUIRE_GAMEDATA(vtidx_DrawPrintText) REQUIRE_GAMEDATA(vtidx_GetScreenSize) REQUIRE_GAMEDATA(vtidx_GetFontTall) REQUIRE_GAMEDATA(vtidx_GetCharacterWidth) +REQUIRE_GAMEDATA(vtidx_GetTextSize) // CEngineVGui REQUIRE_GAMEDATA(vtidx_GetPanel) // vgui::Panel @@ -270,6 +270,7 @@ static bool already_loaded = false, skip_unload = false; // auto-update message. see below in do_featureinit() static const char *updatenotes = "\ +* Fixed input HUD crash in L4D games introduced by previous release\n\ "; enum { // used in generated code, must line up with featmsgs arrays below |
