Core/Misc: Rename AreaTriggerStruct to AreaTriggerTeleport

Port From (https://github.com/TrinityCore/TrinityCore/commit/d5b07faca1bb36bd7c836f3f280530f9b26834b1)
This commit is contained in:
Hondacrx
2025-12-08 14:08:14 -05:00
parent bb9d8b50fc
commit 1047cd825d
5 changed files with 24 additions and 24 deletions
+1 -1
View File
@@ -216,7 +216,7 @@ namespace Game.DungeonFinding
// No teleport coords in database, load from areatriggers
if (dungeon.type != LfgType.Random && dungeon.x == 0.0f && dungeon.y == 0.0f && dungeon.z == 0.0f)
{
AreaTriggerStruct at = Global.ObjectMgr.GetMapEntranceTrigger(dungeon.map);
AreaTriggerTeleport at = Global.ObjectMgr.GetMapEntranceTrigger(dungeon.map);
if (at == null)
{
Log.outError(LogFilter.Lfg, "LoadLFGDungeons: Failed to load dungeon {0} (Id: {1}), cant find areatrigger for map {2}", dungeon.name, dungeon.id, dungeon.map);