From cda13e2b6bd415bc492bc6f6fe80b8314ae5a8c2 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 --- 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 48895e7f699..8513001c8af 100644 --- a/src/server/game/Globals/ObjectMgr.cpp +++ b/src/server/game/Globals/ObjectMgr.cpp @@ -7456,7 +7456,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