Skip to content

Commit

Permalink
Fix vgui_controls not working outside of client.dll
Browse files Browse the repository at this point in the history
  • Loading branch information
Blixibon committed Mar 31, 2023
1 parent af6f9fe commit f4c2cb4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sp/src/game/shared/mapbase/mapbase_shared.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion sp/src/vgui2/vgui_controls/AnimationController.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f4c2cb4

Please sign in to comment.