diff options
author | KingPin <none@none> | 2008-11-30 17:14:32 -0500 |
---|---|---|
committer | KingPin <none@none> | 2008-11-30 17:14:32 -0500 |
commit | daae03906298c1ed84b76cf68777e530c6323cdf (patch) | |
tree | 9dc149750261322c1bf0f9cfa8026edef7e8646e /src/game/ObjectMgr.cpp | |
parent | bb1ee8a004c79d0f2262820f92df4bd72bdd6587 (diff) |
fixed loading error on DB table `db_script_string`introduced in previous merge with mangos.
--HG--
branch : trunk
Diffstat (limited to 'src/game/ObjectMgr.cpp')
-rw-r--r-- | src/game/ObjectMgr.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/ObjectMgr.cpp b/src/game/ObjectMgr.cpp index 75f5ab8273e..070e171f9fc 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); |