aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellAuras.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-06-14 09:57:57 -0500
committermegamage <none@none>2009-06-14 09:57:57 -0500
commite192d8f39b85ef504762bcbbd5c13a9885510f6b (patch)
treeb140f635725436e284f3522bc34c93283c175055 /src/game/SpellAuras.cpp
parentc6d242c2b6478797fe19897d54308e7ed8228874 (diff)
*Some work on vehicle.
--HG-- branch : trunk
Diffstat (limited to 'src/game/SpellAuras.cpp')
-rw-r--r--src/game/SpellAuras.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp
index 224f9cb25ed..053221147b4 100644
--- a/src/game/SpellAuras.cpp
+++ b/src/game/SpellAuras.cpp
@@ -7000,7 +7000,7 @@ void AuraEffect::HandleAuraControlVehicle(bool apply, bool Real, bool /*changeAm
//if(caster->GetTypeId() == TYPEID_PLAYER)
// if(Pet *pet = ((Player*)caster)->GetPet())
// pet->Remove(PET_SAVE_AS_CURRENT);
- caster->EnterVehicle(vehicle, 0);
+ caster->EnterVehicle(vehicle, m_amount - 1);
}
else
{