Skip to content

Commit 8f0decf

Browse files
Update ClientCommands.cpp
1 parent dd3014b commit 8f0decf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Client/mods/deathmatch/ClientCommands.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ bool COMMAND_Executed(const char* szCommand, const char* szArguments, bool bHand
4747

4848
// Give scripts a chance to cancel this command before processing
4949
CClientPlayer* localPlayer = g_pClientGame->GetLocalPlayer();
50-
if (localPlayer != nullptr)
50+
if (localPlayer)
5151
{
5252
CLuaArguments cancelArguments;
5353
cancelArguments.PushString(szCommandBufferPointer);

0 commit comments

Comments
 (0)