mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-13 18:51:29 +00:00
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:
commit
af82a6c5d5
@ -590,7 +590,7 @@ void Client::ProcessMovePC(uint32 zoneID, uint32 instance_id, float x, float y,
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(GetPetID() != 0) {
|
if(zm != SummonPC && GetPetID() != 0) {
|
||||||
//if they have a pet and they are staying in zone, move with them
|
//if they have a pet and they are staying in zone, move with them
|
||||||
Mob *p = GetPet();
|
Mob *p = GetPet();
|
||||||
if(p != nullptr){
|
if(p != nullptr){
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user