From 21cc7cd17972177aa8a4bfa172f0b56c568d163c Mon Sep 17 00:00:00 2001 From: Schmoozerd Date: Tue, 25 Jan 2011 00:26:35 +0300 Subject: [PATCH] [11067] DB error text for creaure difficulty checks misleading. Signed-off-by: VladimirMangos --- src/game/ObjectMgr.cpp | 4 ++-- src/shared/revision_nr.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/game/ObjectMgr.cpp b/src/game/ObjectMgr.cpp index fdacc2a24..5e4b78671 100644 --- a/src/game/ObjectMgr.cpp +++ b/src/game/ObjectMgr.cpp @@ -591,14 +591,14 @@ void ObjectMgr::LoadCreatureTemplates() if (difficultyInfo->AIName && *difficultyInfo->AIName) { sLog.outErrorDb("Difficulty %u mode creature (Entry: %u) has `AIName`, but in any case will used difficulty 0 mode creature (Entry: %u) AIName.", - diff, cInfo->DifficultyEntry[diff], i); + diff + 1, cInfo->DifficultyEntry[diff], i); continue; } if (difficultyInfo->ScriptID) { sLog.outErrorDb("Difficulty %u mode creature (Entry: %u) has `ScriptName`, but in any case will used difficulty 0 mode creature (Entry: %u) ScriptName.", - diff, cInfo->DifficultyEntry[diff], i); + diff + 1, cInfo->DifficultyEntry[diff], i); continue; } diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 725e74d8e..ce9a19110 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "11066" + #define REVISION_NR "11067" #endif // __REVISION_NR_H__