Update dvar list
This commit is contained in:
parent
567c2b5f4e
commit
5e0fb92c9d
@ -658,7 +658,7 @@ namespace game_console
|
||||
for (const auto& dvar : dvars::dvar_list)
|
||||
{
|
||||
auto name = utils::string::to_lower(dvar);
|
||||
if (match_compare(input, name, exact))
|
||||
if (game::Dvar_FindVar(name.data()) && match_compare(input, name, exact))
|
||||
{
|
||||
suggestions.insert(dvar);
|
||||
}
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -395,6 +395,7 @@ namespace game
|
||||
dvar_value latched;
|
||||
dvar_value reset;
|
||||
dvar_limits domain;
|
||||
char __pad0[0xC];
|
||||
};
|
||||
|
||||
struct ScreenPlacement
|
||||
|
@ -154,7 +154,7 @@ namespace game
|
||||
WEAK symbol<PlayerKeyState> playerKeys{0x1E8767C};
|
||||
|
||||
WEAK symbol<int> dvarCount{0xBFBB310};
|
||||
WEAK symbol<dvar_t*> sortedDvars{0xBFBB320};
|
||||
WEAK symbol<dvar_t> dvarPool{0xBFBB320};
|
||||
|
||||
WEAK symbol<unsigned int> levelEntityId{0xB5E0B30};
|
||||
WEAK symbol<int> g_script_error_level{0xBA9CC24};
|
||||
|
Loading…
Reference in New Issue
Block a user