Removed usage of Mod::Dist and used Distance instead

This commit is contained in:
Arthur Ice 2015-01-17 17:39:12 -08:00
parent 76afc11199
commit 1bd4d38537

View File

@ -10183,7 +10183,7 @@ void command_distance(Client *c, const Seperator *sep) {
if(c && c->GetTarget()) {
Mob* target = c->GetTarget();
c->Message(0, "Your target, %s, is %1.1f units from you.", c->GetTarget()->GetName(), c->Dist(*target));
c->Message(0, "Your target, %s, is %1.1f units from you.", c->GetTarget()->GetName(), Distance(c->GetPosition(), target->GetPosition()));
}
}