From 035c1b1dceeaae7c17798c60f37a229fa5a0d83b Mon Sep 17 00:00:00 2001 From: BobTheBob <32057864+BobTheBob9@users.noreply.github.com> Date: Wed, 11 May 2022 14:17:08 +0100 Subject: better IsFlagSet def --- NorthstarDedicatedTest/convar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'NorthstarDedicatedTest/convar.cpp') diff --git a/NorthstarDedicatedTest/convar.cpp b/NorthstarDedicatedTest/convar.cpp index 3ae02463..8a2fee88 100644 --- a/NorthstarDedicatedTest/convar.cpp +++ b/NorthstarDedicatedTest/convar.cpp @@ -474,7 +474,7 @@ bool ConVar::IsCommand(void) const //----------------------------------------------------------------------------- bool ConVar::IsFlagSet(int nFlags) const { - return m_ConCommandBase.IsFlagSet(nFlags); + return m_ConCommandBase.m_nFlags & nFlags; } //----------------------------------------------------------------------------- -- cgit v1.2.3