Merge pull request #1272 from noudess/master

[Bug Fix] Do not summon pet or set new pet state when PC summoned by a mob
This commit is contained in:
Alex
2021-03-05 19:16:03 -08:00
committed by GitHub
+1 -1
View File
@@ -590,7 +590,7 @@ 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){