#summon will now work when you are in an instance.

This commit is contained in:
Kinglykrab
2016-09-11 19:19:09 -04:00
parent 4816c1fc9a
commit f6d721dd72
4 changed files with 27 additions and 1 deletions
+1
View File
@@ -1007,6 +1007,7 @@ void command_summon(Client *c, const Seperator *sep)
szp->x_pos = c->GetX(); // May need to add a factor of 8 in here..
szp->y_pos = c->GetY();
szp->z_pos = c->GetZ();
szp->instance_id = zone->GetInstanceID();
worldserver.SendPacket(pack);
safe_delete(pack);
}