mirror of
https://github.com/araxiaonline/TrinityCore2.git
synced 2026-06-19 22:39:39 -04: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