fix(Core/SmartAI) fatal error: unused parameter pathId (#18795)

fix. fatal error: unused parameter pathId
This commit is contained in:
Walter Pagani
2024-04-24 08:22:24 -03:00
committed by GitHub
parent dadd75953b
commit 03f6dde549

View File

@@ -1153,7 +1153,7 @@ void SmartAI::OnSpellClick(Unit* clicker, bool& /*result*/)
GetScript()->ProcessEventsFor(SMART_EVENT_ON_SPELLCLICK, clicker); GetScript()->ProcessEventsFor(SMART_EVENT_ON_SPELLCLICK, clicker);
} }
void SmartAI::PathEndReached(uint32 pathId) void SmartAI::PathEndReached(uint32 /*pathId*/)
{ {
GetScript()->ProcessEventsFor(SMART_EVENT_WAYPOINT_DATA_ENDED, nullptr, 0, me->GetWaypointPath()); GetScript()->ProcessEventsFor(SMART_EVENT_WAYPOINT_DATA_ENDED, nullptr, 0, me->GetWaypointPath());
} }