Core/Players: Save homebind location on creation instead of delaying it to first login

Port From (https://github.com/TrinityCore/TrinityCore/commit/696be301d304e92245c1d332c28ae61b0390e330)
This commit is contained in:
hondacrx
2021-10-02 21:01:21 -04:00
parent 4a97883559
commit b1152ac9fa
4 changed files with 42 additions and 8 deletions
+3
View File
@@ -197,6 +197,9 @@ namespace Game.Entities
m_createTime = GameTime.GetGameTime();
UpdatePositionData();
// set initial homebind position
SetHomebind(this, GetAreaId());
PowerType powertype = cEntry.DisplayPower;
SetObjectScale(1.0f);