1
0

Fix spells persisting when you zone

This commit is contained in:
Emagi 2024-11-24 08:21:06 -05:00
parent 68d1777cf4
commit 72481617ec

View File

@ -5002,6 +5002,8 @@ void Client::Zone(ZoneChangeDetails* new_zone, ZoneServer* opt_zone, bool set_co
Save(); Save();
GetPlayer()->SetSaveSpellEffects(true);
ResetSendMail(); ResetSendMail();
// Remove players pet from zone if there is one // Remove players pet from zone if there is one
((Entity*)player)->DismissAllPets(); ((Entity*)player)->DismissAllPets();