From 20ab76a2cb9c2697e0974abdb166e1db04ef20ef Mon Sep 17 00:00:00 2001 From: Vincent-Michael Date: Wed, 8 Apr 2015 02:27:20 +0200 Subject: Core: Whitespace cleanup --- src/server/scripts/Commands/cs_misc.cpp | 2 +- src/server/scripts/Commands/cs_modify.cpp | 2 +- src/server/scripts/Commands/cs_ticket.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/server/scripts/Commands') diff --git a/src/server/scripts/Commands/cs_misc.cpp b/src/server/scripts/Commands/cs_misc.cpp index b57efc07a74..a63c300f685 100644 --- a/src/server/scripts/Commands/cs_misc.cpp +++ b/src/server/scripts/Commands/cs_misc.cpp @@ -248,7 +248,7 @@ public: if (status) handler->PSendSysMessage(LANG_LIQUID_STATUS, liquidStatus.level, liquidStatus.depth_level, liquidStatus.entry, liquidStatus.type_flags, status); - + if (!object->GetTerrainSwaps().empty()) { std::stringstream ss; diff --git a/src/server/scripts/Commands/cs_modify.cpp b/src/server/scripts/Commands/cs_modify.cpp index c1f90c7ac96..48a514fd0db 100644 --- a/src/server/scripts/Commands/cs_modify.cpp +++ b/src/server/scripts/Commands/cs_modify.cpp @@ -1281,7 +1281,7 @@ public: Unit* target = handler->getSelectedUnit(); if (!target) target = handler->GetSession()->GetPlayer(); - + target->SetInPhase(phase, true, !target->IsInPhase(phase)); if (target->GetTypeId() == TYPEID_PLAYER) diff --git a/src/server/scripts/Commands/cs_ticket.cpp b/src/server/scripts/Commands/cs_ticket.cpp index 7af67902711..b97c2657d30 100644 --- a/src/server/scripts/Commands/cs_ticket.cpp +++ b/src/server/scripts/Commands/cs_ticket.cpp @@ -126,7 +126,7 @@ public: static bool HandleTicketResetAllCommand(ChatHandler* handler, char const* /*args*/) { - if (sSupportMgr->GetOpenTicketCount() || sSupportMgr->GetOpenTicketCount() + if (sSupportMgr->GetOpenTicketCount() || sSupportMgr->GetOpenTicketCount() || sSupportMgr->GetOpenTicketCount() || sSupportMgr->GetOpenTicketCount()) { handler->SendSysMessage(LANG_COMMAND_TICKETPENDING); -- cgit v1.2.3