mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-21 09:44:45 +01:00
*Fix a crash caused by vehicle.
--HG-- branch : trunk
This commit is contained in:
@@ -3287,7 +3287,7 @@ void Spell::EffectSummonType(uint32 i)
|
||||
if(!vehicle)
|
||||
return;
|
||||
|
||||
vehicle->SetUInt64Value(UNIT_FIELD_SUMMONEDBY, m_caster->GetGUID());
|
||||
//vehicle->SetUInt64Value(UNIT_FIELD_SUMMONEDBY, m_caster->GetGUID());
|
||||
vehicle->SetUInt32Value(UNIT_CREATED_BY_SPELL, m_spellInfo->Id);
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user