*Do not always set faction in summonvehicle function.
--HG-- branch : trunk
This commit is contained in:
1 parent
7c72076355
commit
db066046df
2 files changed
+3
-4
No files matched your search
+1
-1
@@ -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