From db066046df2272b98f478a7072067a41fe69905f Mon Sep 17 00:00:00 2001 From: megamage Date: Sun, 23 Aug 2009 00:43:49 -0500 Subject: *Do not always set faction in summonvehicle function. --HG-- branch : trunk --- src/game/Object.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game/Object.cpp') diff --git a/src/game/Object.cpp b/src/game/Object.cpp index 1d2aeabd132..4b79da91651 100644 --- a/src/game/Object.cpp +++ b/src/game/Object.cpp @@ -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); -- cgit v1.2.3