mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-11 21:01:29 +00:00
Remove pet move/follow on non-GM summon PCy
This commit is contained in:
parent
2f239fd6a3
commit
1f3ce2b34d
@ -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.
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user