aboutsummaryrefslogtreecommitdiff
path: root/src/game/Object.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-08-23 00:43:49 -0500
committermegamage <none@none>2009-08-23 00:43:49 -0500
commitdb066046df2272b98f478a7072067a41fe69905f (patch)
treef92bbb74a08e1932e295a34ceaa8047db76ad813 /src/game/Object.cpp
parent7c720763558fbf4a35755b6055e6a127326834a5 (diff)
*Do not always set faction in summonvehicle function.
--HG-- branch : trunk
Diffstat (limited to 'src/game/Object.cpp')
-rw-r--r--src/game/Object.cpp2
1 files changed, 1 insertions, 1 deletions
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);