Modified the .dist command to display exact distances, too.
--HG-- branch : trunk
This commit is contained in:
1 parent
d536614df8
commit
29cf32ce9b
2 files changed
+2
-2
No files matched your search
+1
-2
@@ -4189,8 +4189,7 @@ bool ChatHandler::HandleGetDistanceCommand(const char *args)
|
||||
}
|
||||
}
|
||||
|
||||
PSendSysMessage(LANG_DISTANCE, m_session->GetPlayer()->GetDistance(obj),m_session->GetPlayer()->GetDistance2d(obj));
|
||||
|
||||
PSendSysMessage(LANG_DISTANCE, m_session->GetPlayer()->GetDistance(obj), m_session->GetPlayer()->GetDistance2d(obj), m_session->GetPlayer()->GetExactDist(obj), m_session->GetPlayer()->GetExactDist2d(obj));
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user