mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-13 17:09:08 +00:00
Codestyle fix (#1797)
Warning: Dont change this PR as draft to make it testable DONT REVIEW UNTIL Codestyle C++ workflow dont pass
This commit is contained in:
@@ -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->GetTypeId() != TYPEID_UNIT)
|
||||
if (victim->IsCreature())
|
||||
return;
|
||||
|
||||
Creature* creature = reinterpret_cast<Creature*>(victim);
|
||||
|
||||
Reference in New Issue
Block a user