diff options
| author | 2025-10-05 18:19:47 +0100 | |
|---|---|---|
| committer | 2025-10-05 18:36:46 +0100 | |
| commit | 9d60415e2c2fa5c56edc3e23079c9b885a82ae00 (patch) | |
| tree | 42f5cbe19e03ce85f7cbd78485388f630679c839 /src | |
| parent | e25081952acd2e6ff40af1390f6a8de71de8a6a3 (diff) | |
| download | sst-9d60415e2c2fa5c56edc3e23079c9b885a82ae00.tar.gz sst-9d60415e2c2fa5c56edc3e23079c9b885a82ae00.zip | |
Add SDK 2013 HUD support
Gamedata values contributed by Evan Lin. Thanks!
Diffstat (limited to 'src')
| -rw-r--r-- | src/hud.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -169,9 +169,9 @@ static bool find_toolspanel(struct CEngineVGui *enginevgui) { } INIT { - matsurf = factory_engine("MatSystemSurface006", 0); - if_cold (!matsurf) { - errmsg_errorx("couldn't get MatSystemSurface006 interface"); + if (!(matsurf = factory_engine("MatSystemSurface006", 0)) && + !(matsurf = factory_engine("MatSystemSurface008", 0))) { + errmsg_errorx("couldn't get MatSystemSurface interface"); return FEAT_INCOMPAT; } struct ISchemeManager *schememgr = factory_engine("VGUI_Scheme010", 0); |
