From 2bfff2933a4f331dc752c987642e6093d78eaef7 Mon Sep 17 00:00:00 2001 From: Jett <55758076+Jettford@users.noreply.github.com> Date: Wed, 19 Jan 2022 11:35:46 +0000 Subject: [PATCH] Remove equal checks --- dWorldServer/WorldServer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dWorldServer/WorldServer.cpp b/dWorldServer/WorldServer.cpp index b046e6d4..e27c5c93 100644 --- a/dWorldServer/WorldServer.cpp +++ b/dWorldServer/WorldServer.cpp @@ -1043,8 +1043,8 @@ void HandlePacket(Packet* packet) { player->GetComponent()->SetLastRocketConfig(u""); // Retroactive check for if player has joined a faction to set their 'joined a faction' flag to true. - if (c->GetPlayerFlag(ePlayerFlags::VENTURE_FACTION) == true || c->GetPlayerFlag(ePlayerFlags::ASSEMBLY_FACTION) == true || - c->GetPlayerFlag(ePlayerFlags::PARADOX_FACTION) == true || c->GetPlayerFlag(ePlayerFlags::SENTINEL_FACTION) == true) { + if (c->GetPlayerFlag(ePlayerFlags::VENTURE_FACTION) || c->GetPlayerFlag(ePlayerFlags::ASSEMBLY_FACTION) || + c->GetPlayerFlag(ePlayerFlags::PARADOX_FACTION) || c->GetPlayerFlag(ePlayerFlags::SENTINEL_FACTION)) { c->SetPlayerFlag(ePlayerFlags::JOINED_A_FACTION, true); }