Core/Entities: kill unused return value from Unit::HandleSpellClick
Port From (https://github.com/TrinityCore/TrinityCore/commit/a1a00f823e7e47e8cb652b71a839c1d0875a8f84)
This commit is contained in:
@@ -895,9 +895,9 @@ namespace Game.AI
|
||||
GetScript().ProcessEventsFor(start ? SmartEvents.GameEventStart : SmartEvents.GameEventEnd, null, eventId);
|
||||
}
|
||||
|
||||
public override void OnSpellClick(Unit clicker, ref bool result)
|
||||
public override void OnSpellClick(Unit clicker, ref bool spellClickHandled)
|
||||
{
|
||||
if (!result)
|
||||
if (!spellClickHandled)
|
||||
return;
|
||||
|
||||
GetScript().ProcessEventsFor(SmartEvents.OnSpellclick, clicker);
|
||||
|
||||
Reference in New Issue
Block a user