Skip to content

Commit e5bc495

Browse files
authored
Fixed codestyle fix (mod-playerbots#1815)
Fix for this changes <img width="1055" height="193" alt="obraz" src="https://github.com/user-attachments/assets/a3d64f5b-80b0-4150-9760-0bcd4847f5d2" />
1 parent 85c7009 commit e5bc495

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/GuildTaskMgr.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1067,7 +1067,7 @@ void GuildTaskMgr::SendCompletionMessage(Player* player, std::string const verb)
10671067
void GuildTaskMgr::CheckKillTaskInternal(Player* player, Unit* victim)
10681068
{
10691069
ObjectGuid::LowType owner = player->GetGUID().GetCounter();
1070-
if (victim->IsCreature())
1070+
if (!victim->IsCreature())
10711071
return;
10721072

10731073
Creature* creature = reinterpret_cast<Creature*>(victim);

0 commit comments

Comments
 (0)