diff options
Diffstat (limited to 'source/ClientHandle.cpp')
-rw-r--r-- | source/ClientHandle.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/ClientHandle.cpp b/source/ClientHandle.cpp index 5967421df..c25a482ca 100644 --- a/source/ClientHandle.cpp +++ b/source/ClientHandle.cpp @@ -908,7 +908,7 @@ void cClientHandle::HandleUseEntity(int a_TargetEntityID, bool a_IsLeftClick) { virtual bool Item(cEntity * a_Entity) override { - if (a_Entity->GetWorld()->IsPVPEnabled() == false) + if (!a_Entity->GetWorld()->IsPVPEnabled()) { // PVP is disabled if (a_Entity->IsA("cPlayer") && Instigator->IsA("cPlayer")) |