mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 00:48:56 +01:00
Core/Battlefield: Correct previous commit
This commit is contained in:
@@ -501,10 +501,10 @@ class spell_wintergrasp_grab_passenger : public SpellScriptLoader
|
||||
{
|
||||
PrepareSpellScript(spell_wintergrasp_grab_passenger_SpellScript);
|
||||
|
||||
void HandleScript(SpellEffIndex effIndex)
|
||||
void HandleScript(SpellEffIndex /*effIndex*/)
|
||||
{
|
||||
if (Player* target = GetHitPlayer())
|
||||
GetCaster()->GetVehicleKit()->AddPassenger(target);
|
||||
target->EnterVehicle(GetCaster());
|
||||
}
|
||||
|
||||
void Register()
|
||||
|
||||
Reference in New Issue
Block a user