mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 09:17:36 +01:00
*Do not always set faction in summonvehicle function.
--HG-- branch : trunk
This commit is contained in:
@@ -1855,7 +1855,7 @@ Vehicle* WorldObject::SummonVehicle(uint32 entry, float x, float y, float z, flo
|
||||
if(isType(TYPEMASK_UNIT))
|
||||
{
|
||||
v->SetUInt64Value(UNIT_FIELD_SUMMONEDBY, GetGUID());
|
||||
v->setFaction(((Unit*)this)->getFaction());
|
||||
//v->setFaction(((Unit*)this)->getFaction());
|
||||
}
|
||||
map->Add((Creature*)v);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user