Skip to content

Commit

Permalink
fix(Core/SmartAI) fatal error: unused parameter pathId (azerothcore#1…
Browse files Browse the repository at this point in the history
…8795)

fix. fatal error: unused parameter pathId
  • Loading branch information
pangolp authored Apr 24, 2024
1 parent dadd759 commit 03f6dde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/game/AI/SmartScripts/SmartAI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1153,7 +1153,7 @@ void SmartAI::OnSpellClick(Unit* clicker, bool& /*result*/)
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());
}
Expand Down

0 comments on commit 03f6dde

Please sign in to comment.