Core/Players: Use TeleportLocation for summon and recall locations

Port From (https://github.com/TrinityCore/TrinityCore/commit/b2d735114be57f970f3dd16d57077cf4f8893796)
This commit is contained in:
Hondacrx
2024-08-25 14:47:40 -04:00
parent ac1a621503
commit f5f93d1fc4
2 changed files with 7 additions and 11 deletions
+2 -4
View File
@@ -129,8 +129,7 @@ namespace Game.Entities
// Player summoning
long m_summon_expire;
WorldLocation m_summon_location;
uint m_summon_instanceId;
TeleportLocation m_summon_location;
RestMgr _restMgr;
@@ -216,8 +215,7 @@ namespace Game.Entities
byte m_fishingSteps;
// Recall position
WorldLocation m_recall_location;
uint m_recall_instanceId;
TeleportLocation m_recall_location;
WorldLocation homebind = new();
uint homebindAreaId;
uint m_HomebindTimer;