Core/Objects: use the actual collision height of players and creatures to get more accurate liquid status results
Port From (https://github.com/TrinityCore/TrinityCore/commit/d5daa2ad49a5a5d23ec4fae7508998ff9b1b6ad1)
This commit is contained in:
@@ -213,8 +213,6 @@ namespace Game.Entities
|
||||
}
|
||||
}
|
||||
|
||||
UpdatePositionData();
|
||||
|
||||
// set initial homebind position
|
||||
SetHomebind(this, GetAreaId());
|
||||
|
||||
@@ -236,6 +234,7 @@ namespace Game.Entities
|
||||
SetGender(createInfo.Sex);
|
||||
SetPowerType(powertype);
|
||||
InitDisplayIds();
|
||||
UpdatePositionData();
|
||||
if ((RealmType)WorldConfig.GetIntValue(WorldCfg.GameType) == RealmType.PVP || (RealmType)WorldConfig.GetIntValue(WorldCfg.GameType) == RealmType.RPPVP)
|
||||
{
|
||||
AddPvpFlag(UnitPVPStateFlags.PvP);
|
||||
|
||||
Reference in New Issue
Block a user