aboutsummaryrefslogtreecommitdiff
path: root/src/game/Vehicle.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-04-23 21:43:20 -0500
committermegamage <none@none>2009-04-23 21:43:20 -0500
commit84e9ffb48798f622872a0a5f1e33cd24021b51e0 (patch)
treef79da25bcdc2de015b955739358e3dfa426ea715 /src/game/Vehicle.cpp
parent17056452d78689535b7a264ec371b849828d9300 (diff)
*Set mover based on client response.
--HG-- branch : trunk
Diffstat (limited to 'src/game/Vehicle.cpp')
-rw-r--r--src/game/Vehicle.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/Vehicle.cpp b/src/game/Vehicle.cpp
index f2d023300fe..4ef4781add0 100644
--- a/src/game/Vehicle.cpp
+++ b/src/game/Vehicle.cpp
@@ -247,7 +247,7 @@ bool Vehicle::AddPassenger(Unit *unit, int8 seatNum)
{
((Player*)unit)->SetCharm(this, true);
((Player*)unit)->SetViewpoint(this, true);
- ((Player*)unit)->SetMover(this);
+ //((Player*)unit)->SetMover(this);
((Player*)unit)->VehicleSpellInitialize();
}
@@ -286,7 +286,7 @@ void Vehicle::RemovePassenger(Unit *unit)
{
((Player*)unit)->SetCharm(this, false);
((Player*)unit)->SetViewpoint(this, false);
- ((Player*)unit)->SetMover(unit);
+ //((Player*)unit)->SetMover(unit);
((Player*)unit)->SendRemoveControlBar();
}