aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL/cvar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'NorthstarDLL/cvar.cpp')
-rw-r--r--NorthstarDLL/cvar.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/NorthstarDLL/cvar.cpp b/NorthstarDLL/cvar.cpp
index 04594b8f..787790be 100644
--- a/NorthstarDLL/cvar.cpp
+++ b/NorthstarDLL/cvar.cpp
@@ -23,5 +23,9 @@ std::unordered_map<std::string, ConCommandBase*> CCvar::DumpToMap()
return allConVars;
}
-SourceInterface<CCvar>* g_pCVarInterface;
-CCvar* g_pCVar;
+// use the R2 namespace for game funcs
+namespace R2
+{
+ SourceInterface<CCvar>* g_pCVarInterface;
+ CCvar* g_pCVar;
+} // namespace R2