Core/Misc: Various crash fixes

This commit is contained in:
xinef1 authored and roc13x committed 2017-05-05 01:59:34 +01:00
1 parent 02e174d7e9
commit b88200cd58
22 files changed
+79 -60

No files matched your search

+5
View File
@@ -3447,6 +3447,11 @@ void BattlegroundMap::RemoveAllPlayers()
player->TeleportTo(player->GetBattlegroundEntryPoint());
}
Player* Map::GetPlayer(ObjectGuid const& guid)
{
return ObjectAccessor::GetPlayer(this, guid);
}
AreaTrigger* Map::GetAreaTrigger(ObjectGuid const& guid)
{
return _objectsStore.Find<AreaTrigger>(guid);