Skip to content

Commit

Permalink
Internal: tbc build fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mostlikely4r committed Dec 23, 2024
1 parent 32fd719 commit 6c1ee01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions playerbot/strategy/actions/LfgActions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -382,9 +382,9 @@ bool LfgJoinAction::JoinLFG()
if (target && group && !group->IsFull())
{
// if moving to boss
if (target->getDestination() && target->getDestination()->getName() == "BossTravelDestination")
if (target->GetDestination() && typeid(*target->GetDestination()) == typeid(BossTravelDestination))
{
WorldPosition* location = target->getPosition();
WorldPosition* location = target->GetPosition();
uint32 targetAreaFlag = GetAreaFlagByMapId(location->mapid);
if (targetAreaFlag)
{
Expand Down

0 comments on commit 6c1ee01

Please sign in to comment.