aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2024-01-07 18:37:24 +0100
committerfunjoker <funjoker109@gmail.com>2024-01-09 20:43:02 +0100
commit071b04e987dbb7c51357c4f080145ba1537205db (patch)
tree47b00be09a2ac10bcffbf4fcf247f99a2d4e2c0f /src
parent4bd8a9d55b1e1173f391e3faf05ad7ee5c6efc33 (diff)
Core/GameObjects: Fixed incorrect startup error log
(cherry picked from commit cda13e2b6bd415bc492bc6f6fe80b8314ae5a8c2)
Diffstat (limited to 'src')
-rw-r--r--src/server/game/Globals/ObjectMgr.cpp2
1 files changed, 1 insertions, 1 deletions
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)