Fix vgui_controls not working outside of client.dll

This commit is contained in:
ALLEN-PC\acj30 2023-03-30 19:10:44 -05:00
parent af6f9fe518
commit f4c2cb4795
2 changed files with 2 additions and 2 deletions

View File

@ -70,7 +70,7 @@ ConVar mapbase_version_client( "mapbase_version_client", MAPBASE_VERSION, FCVAR_
// This is from the vgui_controls library
extern vgui::HScheme g_iCustomClientSchemeOverride;
bool g_bUsingCustomHudAnimations = false;
extern bool g_bUsingCustomHudAnimations;
bool g_bUsingCustomHudLayout = false;
#endif

View File

@ -33,7 +33,7 @@ static CUtlSymbolTable g_ScriptSymbols(0, 128, true);
#ifdef MAPBASE
// Allows animation sequences to be overridden by map-specific files
extern bool g_bUsingCustomHudAnimations;
bool g_bUsingCustomHudAnimations = false;
#endif
// singleton accessor for animation controller for use by the vgui controls