aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/convar.h
diff options
context:
space:
mode:
Diffstat (limited to 'NorthstarDedicatedTest/convar.h')
-rw-r--r--NorthstarDedicatedTest/convar.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/NorthstarDedicatedTest/convar.h b/NorthstarDedicatedTest/convar.h
index 3de8139b..df51edb7 100644
--- a/NorthstarDedicatedTest/convar.h
+++ b/NorthstarDedicatedTest/convar.h
@@ -96,7 +96,7 @@ public:
//void* unknown2[28];
//ConVar*(*FindVar)(const char* var_name); // offset for this is currently very wrong
char* unknown[112];
- ConCommand*(*FindCommandBase)(ICvar* self, const char* varName);
+ ConCommand*(*FindCommandBase)(ICvar* self, const char* varName); // this offset is also wrong for some reason
};
VTable* m_vtable;
@@ -104,6 +104,7 @@ public:
ConVar* RegisterConVar(const char* name, const char* defaultValue, int flags, const char* helpString);
+ConVar* FindConVar(const char* name);
void InitialiseConVars(HMODULE baseAddress);
extern std::unordered_map<std::string, ConVar*> g_CustomConvars;