From 2edba50bcdab786476deb105247a9a3d79d8a1e8 Mon Sep 17 00:00:00 2001 From: Ovahlord Date: Tue, 28 Apr 2020 17:47:21 +0200 Subject: [PATCH] Core/Units: summoned vehicles will now also get a creator guid --- src/server/game/Entities/Creature/TemporarySummon.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/game/Entities/Creature/TemporarySummon.cpp b/src/server/game/Entities/Creature/TemporarySummon.cpp index a202bd00a26..31b1ba5c95c 100644 --- a/src/server/game/Entities/Creature/TemporarySummon.cpp +++ b/src/server/game/Entities/Creature/TemporarySummon.cpp @@ -194,7 +194,7 @@ void TempSummon::InitStats(uint32 duration) owner->m_SummonSlot[slot] = GetGUID(); } - if (m_Properties->Control == SUMMON_CATEGORY_ALLY || m_Properties->Control == SUMMON_CATEGORY_PET) + if (m_Properties->Control == SUMMON_CATEGORY_ALLY || m_Properties->Control == SUMMON_CATEGORY_PET || m_Properties->Control == SUMMON_CATEGORY_VEHICLE) { if (!m_Properties->Faction) SetFaction(owner->GetFaction());