Compile bug fixes.

This commit is contained in:
whipowill
2022-05-20 13:07:45 -05:00
parent 8d8d788864
commit fdd616a1a3

View File

@@ -3038,7 +3038,7 @@ std::string const PlayerbotAI::HandleRemoteCommand(std::string const command)
out << " v: " << target->getDestination()->getVisitors();
if (*target->getPosition() != WorldPosition())
if (!(*target->getPosition() == WorldPosition()))
{
out << "(" << target->getPosition()->getAreaName() << ")";
out << " distance: " << target->getPosition()->distance(bot) << "y";