diff --git a/src/console/CVar.hpp b/src/console/CVar.hpp index 9edf766..f1a436d 100644 --- a/src/console/CVar.hpp +++ b/src/console/CVar.hpp @@ -18,7 +18,7 @@ class CVar : public TSHashObject { static int32_t Load(const char* filename); static CVar* Lookup(const char* name); static CVar* LookupRegistered(const char* name); - static CVar* Register(const char* name, const char* help, uint32_t flags, const char* value, bool (*fcn)(CVar*, const char*, const char*, void*), uint32_t category, bool a7, void* arg, bool a9); + static CVar* Register(const char* name, const char* help, uint32_t flags, const char* value, bool (*fcn)(CVar*, const char*, const char*, void*), uint32_t category, bool a7 = false, void* arg = nullptr, bool a9 = false); // Member variables uint32_t m_category = 0;