Core/Misc: Moved CharacterInfo out of world to separate class
Port From (https://github.com/TrinityCore/TrinityCore/commit/ad4e63bae145ae49b584ab2fc621660430cec0d3)
This commit is contained in:
@@ -289,13 +289,7 @@ namespace Game
|
||||
|
||||
if (corpseGrave != ghostGrave)
|
||||
GetPlayer().TeleportTo(corpseGrave.MapID, corpseGrave.Loc.X, corpseGrave.Loc.Y, corpseGrave.Loc.Z, GetPlayer().GetOrientation());
|
||||
// or update at original position
|
||||
else
|
||||
GetPlayer().UpdateObjectVisibility();
|
||||
}
|
||||
// or update at original position
|
||||
else
|
||||
GetPlayer().UpdateObjectVisibility();
|
||||
}
|
||||
|
||||
[WorldPacketHandler(ClientOpcodes.BinderActivate)]
|
||||
|
||||
Reference in New Issue
Block a user