Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
davidonete committed Mar 8, 2024
1 parent 0d24a8c commit 7fcbb0c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions playerbot/PlayerbotAI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -799,9 +799,9 @@ bool PlayerbotAI::CanEnterArea(const AreaTrigger* area)
#ifdef MANGOSBOT_ZERO
InstancePlayerBind* pBind = bot->GetBoundInstance(area->target_mapId);
#elif MANGOSBOT_ONE
InstancePlayerBind* pBind = GetBoundInstance(area->target_mapId, bot->GetDifficulty());
InstancePlayerBind* pBind = bot->GetBoundInstance(area->target_mapId, bot->GetDifficulty());
#else
InstancePlayerBind* pBind = GetBoundInstance(area->target_mapId, bot->GetDifficulty(mapEntry->IsRaid()));
InstancePlayerBind* pBind = bot->GetBoundInstance(area->target_mapId, bot->GetDifficulty(mapEntry->IsRaid()));
#endif
if (pBind && pBind->perm && pBind->state != state)
{
Expand Down

0 comments on commit 7fcbb0c

Please sign in to comment.