We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd3014b commit 8f0decfCopy full SHA for 8f0decf
Client/mods/deathmatch/ClientCommands.cpp
@@ -47,7 +47,7 @@ bool COMMAND_Executed(const char* szCommand, const char* szArguments, bool bHand
47
48
// Give scripts a chance to cancel this command before processing
49
CClientPlayer* localPlayer = g_pClientGame->GetLocalPlayer();
50
- if (localPlayer != nullptr)
+ if (localPlayer)
51
{
52
CLuaArguments cancelArguments;
53
cancelArguments.PushString(szCommandBufferPointer);
0 commit comments