From 071b04e987dbb7c51357c4f080145ba1537205db Mon Sep 17 00:00:00 2001 From: Shauren Date: Sun, 7 Jan 2024 18:37:24 +0100 Subject: Core/GameObjects: Fixed incorrect startup error log (cherry picked from commit cda13e2b6bd415bc492bc6f6fe80b8314ae5a8c2) --- src/server/game/Globals/ObjectMgr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/server/game/Globals/ObjectMgr.cpp b/src/server/game/Globals/ObjectMgr.cpp index 982591cad03..8c14a95a2d2 100644 --- a/src/server/game/Globals/ObjectMgr.cpp +++ b/src/server/game/Globals/ObjectMgr.cpp @@ -7471,7 +7471,7 @@ inline void CheckGOLockId(GameObjectTemplate const* goInfo, uint32 dataN, uint32 return; TC_LOG_ERROR("sql.sql", "Gameobject (Entry: {} GoType: {}) have data{}={} but lock (Id: {}) not found.", - goInfo->entry, goInfo->type, N, goInfo->door.open, goInfo->door.open); + goInfo->entry, goInfo->type, N, dataN, dataN); } inline void CheckGOLinkedTrapId(GameObjectTemplate const* goInfo, uint32 dataN, uint32 N) -- cgit v1.2.3