mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-18 04:08:27 +00:00
org_x, org_y, org_z, and org_heading converted to xyz_heading as m_SpawnPoint
This commit is contained in:
+3
-2
@@ -1800,10 +1800,11 @@ void command_gassign(Client *c, const Seperator *sep)
|
||||
{
|
||||
if (sep->IsNumber(1) && c->GetTarget() && c->GetTarget()->IsNPC())
|
||||
{
|
||||
auto npcBind = c->GetTarget()->CastToNPC()->m_SpawnPoint;
|
||||
database.AssignGrid(
|
||||
c,
|
||||
(c->GetTarget()->CastToNPC()->org_x),
|
||||
(c->GetTarget()->CastToNPC()->org_y),
|
||||
npcBind.m_X,
|
||||
npcBind.m_Y,
|
||||
atoi(sep->arg[1])
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user