Changed #loc to report the same precision as /loc for Cartesians

This commit is contained in:
Uleat
2014-09-02 21:19:30 -04:00
parent 7ddaabee30
commit 76d3edc534
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -4692,7 +4692,7 @@ void command_loc(Client *c, const Seperator *sep)
{
Mob *t=c->GetTarget()?c->GetTarget():c->CastToMob();
c->Message(0, "%s's Location (XYZ): %1.1f, %1.1f, %1.1f; heading=%1.1f", t->GetName(), t->GetX(), t->GetY(), t->GetZ(), t->GetHeading());
c->Message(0, "%s's Location (XYZ): %1.2f, %1.2f, %1.2f; heading=%1.1f", t->GetName(), t->GetX(), t->GetY(), t->GetZ(), t->GetHeading());
}
void command_goto(Client *c, const Seperator *sep)