diff options
-rw-r--r-- | sql/updates/7306_world_trinity_string.sql | 1 | ||||
-rw-r--r-- | src/game/Level3.cpp | 3 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sql/updates/7306_world_trinity_string.sql b/sql/updates/7306_world_trinity_string.sql new file mode 100644 index 00000000000..c1b15a3797d --- /dev/null +++ b/sql/updates/7306_world_trinity_string.sql @@ -0,0 +1 @@ +UPDATE `trinity_string` SET `content_default` = 'The distance is: (3D) %f (2D) %f (Exact 3D) %f (Exact 2D) %f yards.' WHERE `entry`=503; diff --git a/src/game/Level3.cpp b/src/game/Level3.cpp index 864f827df7d..aa146210a77 100644 --- a/src/game/Level3.cpp +++ b/src/game/Level3.cpp @@ -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; } |