From e5bc495dbeff73afba4e00b3485ea83e65103b81 Mon Sep 17 00:00:00 2001 From: kadeshar Date: Fri, 7 Nov 2025 17:49:33 +0100 Subject: [PATCH] Fixed codestyle fix (#1815) Fix for this changes obraz --- src/GuildTaskMgr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GuildTaskMgr.cpp b/src/GuildTaskMgr.cpp index 37589ebd..8fb4711d 100644 --- a/src/GuildTaskMgr.cpp +++ b/src/GuildTaskMgr.cpp @@ -1067,7 +1067,7 @@ void GuildTaskMgr::SendCompletionMessage(Player* player, std::string const verb) void GuildTaskMgr::CheckKillTaskInternal(Player* player, Unit* victim) { ObjectGuid::LowType owner = player->GetGUID().GetCounter(); - if (victim->IsCreature()) + if (!victim->IsCreature()) return; Creature* creature = reinterpret_cast(victim);