aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL/cvar.h
diff options
context:
space:
mode:
Diffstat (limited to 'NorthstarDLL/cvar.h')
-rw-r--r--NorthstarDLL/cvar.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/NorthstarDLL/cvar.h b/NorthstarDLL/cvar.h
index c4525cef..ead30d3e 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; \ No newline at end of file
+// use the R2 namespace for game funcs
+namespace R2
+{
+ extern SourceInterface<CCvar>* g_pCVarInterface;
+ extern CCvar* g_pCVar;
+} // namespace R2