mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 01:11:29 +00:00
16 lines
279 B
C++
Executable File
16 lines
279 B
C++
Executable File
#include "../client.h"
|
|
|
|
void command_wpinfo(Client *c, const Seperator *sep)
|
|
{
|
|
Mob *t = c->GetTarget();
|
|
|
|
if (t == nullptr || !t->IsNPC()) {
|
|
c->Message(Chat::White, "You must target an NPC to use this.");
|
|
return;
|
|
}
|
|
|
|
NPC *n = t->CastToNPC();
|
|
n->DisplayWaypointInfo(c);
|
|
}
|
|
|