Merge pull request #8317 from ChillerDragon/pr_static_member_console

Don't access static ConCommandStatus with a member
This commit is contained in:
Robert Müller 2024-05-06 08:48:32 +00:00 committed by GitHub
commit f9cb924e20
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -736,7 +736,7 @@ void CConsole::ConUserCommandStatus(IResult *pResult, void *pUser)
str_from_int((int)IConsole::ACCESS_LEVEL_USER, aBuf); str_from_int((int)IConsole::ACCESS_LEVEL_USER, aBuf);
Result.AddArgument(aBuf); Result.AddArgument(aBuf);
pConsole->ConCommandStatus(&Result, pConsole); CConsole::ConCommandStatus(&Result, pConsole);
} }
void CConsole::TraverseChain(FCommandCallback *ppfnCallback, void **ppUserData) void CConsole::TraverseChain(FCommandCallback *ppfnCallback, void **ppUserData)