Pet teleports now

This commit is contained in:
blinkysc 2025-10-31 11:35:33 -05:00
parent a1c8e0f221
commit 8075486418

View File

@ -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