mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 18:52:22 +00:00
Remove pet move/follow on non-GM summon PCy
This commit is contained in:
+2
-1
@@ -590,10 +590,11 @@ void Client::ProcessMovePC(uint32 zoneID, uint32 instance_id, float x, float y,
|
||||
return;
|
||||
}
|
||||
|
||||
if(GetPetID() != 0) {
|
||||
if(zm != SummonPC && GetPetID() != 0) {
|
||||
//if they have a pet and they are staying in zone, move with them
|
||||
Mob *p = GetPet();
|
||||
if(p != nullptr){
|
||||
p->SetPetOrder(SPO_Follow);
|
||||
p->GMMove(x+15, y, z); //so it dosent have to run across the map.
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user