From daae03906298c1ed84b76cf68777e530c6323cdf Mon Sep 17 00:00:00 2001 From: KingPin Date: Sun, 30 Nov 2008 17:14:32 -0500 Subject: [PATCH] fixed loading error on DB table `db_script_string`introduced in previous merge with mangos. --HG-- branch : trunk --- src/game/ObjectMgr.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game/ObjectMgr.cpp b/src/game/ObjectMgr.cpp index 75f5ab8273..070e171f9f 100644 --- a/src/game/ObjectMgr.cpp +++ b/src/game/ObjectMgr.cpp @@ -6463,7 +6463,7 @@ bool ObjectMgr::LoadTrinityStrings(DatabaseType& db, char const* table, int32 mi bar.step(); sLog.outString(""); - if(min_value > 0) // error only in case internal strings + if(min_value == MIN_TRINITY_STRING_ID) // error only in case internal strings sLog.outErrorDb(">> Loaded 0 trinity strings. DB table `%s` is empty. Cannot continue.",table); else sLog.outString(">> Loaded 0 string templates. DB table `%s` is empty.",table); @@ -6529,7 +6529,7 @@ bool ObjectMgr::LoadTrinityStrings(DatabaseType& db, char const* table, int32 mi delete result; sLog.outString(); - if(min_value > 0) // internal Trinity strings + if(min_value == MIN_TRINITY_STRING_ID) // internal Trinity strings sLog.outString( ">> Loaded %u Trinity strings from table %s", count,table); else sLog.outString( ">> Loaded %u string templates from %s", count,table);