Core/Units: summoned vehicles will now also get a creator guid
This commit is contained in:
1 parent
92f8340da3
commit
2edba50bcd
1 file changed
+1
-1
@@ -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());
|
||||
|
||||
Reference in new issue
Block a user