diff options
Diffstat (limited to 'NorthstarDLL/cvar.h')
-rw-r--r-- | NorthstarDLL/cvar.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/NorthstarDLL/cvar.h b/NorthstarDLL/cvar.h index a39df387..e65e5145 100644 --- a/NorthstarDLL/cvar.h +++ b/NorthstarDLL/cvar.h @@ -35,5 +35,9 @@ class CCvar std::unordered_map<std::string, ConCommandBase*> DumpToMap(); }; -extern SourceInterface<CCvar>* g_pCVarInterface; -extern CCvar* g_pCVar; +// use the R2 namespace for game funcs +namespace R2 +{ + extern SourceInterface<CCvar>* g_pCVarInterface; + extern CCvar* g_pCVar; +} // namespace R2 |