mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-17 07:18:37 +00:00
[Commands] Cleanup #wpinfo Command. (#1866)
- Cleanup message and logic. - Only display grid/waypoints if NPC has a grid.
This commit is contained in:
+2
-2
@@ -267,9 +267,9 @@ int Lua_NPC::GetMaxWp() {
|
||||
return self->GetMaxWp();
|
||||
}
|
||||
|
||||
void Lua_NPC::DisplayWaypointInfo(Lua_Client to) {
|
||||
void Lua_NPC::DisplayWaypointInfo(Lua_Client client) {
|
||||
Lua_Safe_Call_Void();
|
||||
self->DisplayWaypointInfo(to);
|
||||
self->DisplayWaypointInfo(client);
|
||||
}
|
||||
|
||||
void Lua_NPC::CalculateNewWaypoint() {
|
||||
|
||||
Reference in New Issue
Block a user