mirror of
https://github.com/EQEmu/Server.git
synced 2026-01-07 22:53:51 +00:00
[GM Command] #list npcs Goto option now goes to higher Z if selected NPC is a boat. (#1349)
* #list npcs Goto option now goes to higher Z if npc selected is a boat. Makes using #list npcs and using the goto button more useful when NPC is a boat, as normal Z will put you in the water. * Use ?: instead of bool multiply * Update command.cpp
This commit is contained in:
parent
1f896d05ed
commit
4cc24dea75
@ -1610,7 +1610,7 @@ void command_list(Client *c, const Seperator *sep)
|
||||
"#goto %.0f %0.f %.0f",
|
||||
entity->GetX(),
|
||||
entity->GetY(),
|
||||
entity->GetZ());
|
||||
entity->GetZ() + (entity->IsBoat() ? 50 : 0));
|
||||
|
||||
c->Message(
|
||||
0,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user