aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/cvar.h
diff options
context:
space:
mode:
Diffstat (limited to 'NorthstarDedicatedTest/cvar.h')
-rw-r--r--NorthstarDedicatedTest/cvar.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/NorthstarDedicatedTest/cvar.h b/NorthstarDedicatedTest/cvar.h
index a39df387..ead30d3e 100644
--- a/NorthstarDedicatedTest/cvar.h
+++ b/NorthstarDedicatedTest/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