mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
Fixed codestyle fix (#1815)
Fix for this changes <img width="1055" height="193" alt="obraz" src="https://github.com/user-attachments/assets/a3d64f5b-80b0-4150-9760-0bcd4847f5d2" />
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)
|
void GuildTaskMgr::CheckKillTaskInternal(Player* player, Unit* victim)
|
||||||
{
|
{
|
||||||
ObjectGuid::LowType owner = player->GetGUID().GetCounter();
|
ObjectGuid::LowType owner = player->GetGUID().GetCounter();
|
||||||
if (victim->IsCreature())
|
if (!victim->IsCreature())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
Creature* creature = reinterpret_cast<Creature*>(victim);
|
Creature* creature = reinterpret_cast<Creature*>(victim);
|
||||||
|
|||||||
Reference in New Issue
Block a user