mirror of
https://github.com/azerothcore/azerothcore-wotlk.git
synced 2025-11-10 21:04:26 +08:00
Pet teleports now
This commit is contained in:
parent
a1c8e0f221
commit
8075486418
@ -1534,7 +1534,7 @@ bool Player::TeleportTo(uint32 mapid, float x, float y, float z, float orientati
|
||||
CombatStop();
|
||||
|
||||
// remove pet on map change
|
||||
if (pet)
|
||||
if (pet && !(options & TELE_TO_NOT_UNSUMMON_PET))
|
||||
UnsummonPetTemporaryIfAny();
|
||||
|
||||
// remove all dyn objects
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user