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
commit af82a6c5d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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){