Skip to content

Commit

Permalink
Playerbot: Compile fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mostlikely4r authored and killerwife committed Mar 5, 2025
1 parent d0c09ff commit d9232a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game/Maps/Map.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2795,7 +2795,7 @@ void Map::UpdateVisibility(UpdateDataMapType& update_players)
Player* plr = m_mapRefIter->getSource();
if (plr && plr->IsInWorld())
#ifdef ENABLE_PLAYERBOTS
if (isRealPlayer())
if (plr->isRealPlayer())
#endif
plr->HandleStealthedUnitsDetection();
}
Expand Down

0 comments on commit d9232a5

Please sign in to comment.