Core/Vehicles: Removed hacky setting entry for multi-passenger mounts

Core/Pools: Fixed compile

--HG--
branch : trunk
This commit is contained in:
Shauren
2010-09-14 16:14:43 +02:00
parent 102e51d620
commit c2c3302d2f
6 changed files with 147 additions and 153 deletions

View File

@@ -369,7 +369,7 @@ public:
void SpellHit(Unit* /*caster*/, const SpellEntry* pSpell)
{
if (pSpell->Id == SPELL_START_THE_ENGINE)
vehicle->InstallAllAccessories();
vehicle->InstallAllAccessories(me->GetEntry());
if (pSpell->Id == SPELL_ELECTROSHOCK)
me->InterruptSpell(CURRENT_CHANNELED_SPELL);