mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 00:48:56 +01:00
Core/Vehicles: Removed hacky setting entry for multi-passenger mounts
Core/Pools: Fixed compile --HG-- branch : trunk
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user