From d6b8b1fa134e464736672cee4db454e342f90261 Mon Sep 17 00:00:00 2001 From: VladimirMangos Date: Sun, 30 Nov 2008 22:22:51 +0300 Subject: [PATCH] [6870] Not output error message at loading empty `db_script_string` table. --- 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 0fcedab16..e1ab90d18 100644 --- a/src/game/ObjectMgr.cpp +++ b/src/game/ObjectMgr.cpp @@ -6320,7 +6320,7 @@ bool ObjectMgr::LoadMangosStrings(DatabaseType& db, char const* table, int32 min bar.step(); sLog.outString(""); - if(min_value > 0) // error only in case internal strings + if(min_value == MIN_MANGOS_STRING_ID) // error only in case internal strings sLog.outErrorDb(">> Loaded 0 mangos strings. DB table `%s` is empty. Cannot continue.",table); else sLog.outString(">> Loaded 0 string templates. DB table `%s` is empty.",table); @@ -6386,7 +6386,7 @@ bool ObjectMgr::LoadMangosStrings(DatabaseType& db, char const* table, int32 min delete result; sLog.outString(); - if(min_value > 0) // internal mangos strings + if(min_value == MIN_MANGOS_STRING_ID) // error only in case internal strings sLog.outString( ">> Loaded %u MaNGOS strings from table %s", count,table); else sLog.outString( ">> Loaded %u string templates from %s", count,table); diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index ffac4a159..518ac001f 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 "6869" + #define REVISION_NR "6870" #endif // __REVISION_NR_H__