diff --git a/sp/src/game/shared/mapbase/mapbase_shared.cpp b/sp/src/game/shared/mapbase/mapbase_shared.cpp index 79c4f51e..8c364b62 100644 --- a/sp/src/game/shared/mapbase/mapbase_shared.cpp +++ b/sp/src/game/shared/mapbase/mapbase_shared.cpp @@ -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 diff --git a/sp/src/vgui2/vgui_controls/AnimationController.cpp b/sp/src/vgui2/vgui_controls/AnimationController.cpp index bc2b1774..ba51d93c 100644 --- a/sp/src/vgui2/vgui_controls/AnimationController.cpp +++ b/sp/src/vgui2/vgui_controls/AnimationController.cpp @@ -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