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

This commit is contained in:
Kinglykrab committed 2016-09-11 19:25:41 -04:00
1 parent 4816c1fc9a
commit f6d721dd72
4 files changed
+27 -1

No files matched your search

+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);
}