mirror of
https://github.com/EQEmu/Server.git
synced 2026-03-10 06:02:25 +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",
|
"#goto %.0f %0.f %.0f",
|
||||||
entity->GetX(),
|
entity->GetX(),
|
||||||
entity->GetY(),
|
entity->GetY(),
|
||||||
entity->GetZ());
|
entity->GetZ() + (entity->IsBoat() ? 50 : 0));
|
||||||
|
|
||||||
c->Message(
|
c->Message(
|
||||||
0,
|
0,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user