Don't access static ConCommandStatus with a member

Fixes this clang-tidy 19 warning

```
/home/chiller/Desktop/git/ddnet/src/engine/shared/console.cpp:739:2: error: static member accessed through instance [readability-static-accessed-through-instance,-warnings-as-errors]
  739 |         pConsole->ConCommandStatus(&Result, pConsole);
      |         ^~~~~~~~~~
      |         CConsole::
```
This commit is contained in:
ChillerDragon 2024-05-06 11:48:08 +08:00
parent c727b87601
commit 3c606dd1e4

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)