mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-13 14:41:28 +00:00
Removed usage of Mod::Dist and used Distance instead
This commit is contained in:
parent
76afc11199
commit
1bd4d38537
@ -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()));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user