diff options
author | QAston <none@none> | 2009-08-18 20:17:06 +0200 |
---|---|---|
committer | QAston <none@none> | 2009-08-18 20:17:06 +0200 |
commit | 5ffa85c858fb721fb5d663431712d173d6b62a15 (patch) | |
tree | 2344baec6dfc3bf569b9318d6b278ae02d3c5b9a /src/shared/Database/DBCFileLoader.cpp | |
parent | d3d2eb91bbac388f9ffc1e89147c4129e7bcf9af (diff) |
*Fix server startup error from 5184.
--HG--
branch : trunk
Diffstat (limited to 'src/shared/Database/DBCFileLoader.cpp')
-rw-r--r-- | src/shared/Database/DBCFileLoader.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/shared/Database/DBCFileLoader.cpp b/src/shared/Database/DBCFileLoader.cpp index dc968fbce3b..23f602f5c93 100644 --- a/src/shared/Database/DBCFileLoader.cpp +++ b/src/shared/Database/DBCFileLoader.cpp @@ -30,7 +30,7 @@ DBCFileLoader::DBCFileLoader() fieldsOffset = NULL; } -bool DBCFileLoader::Load(const char *filename, const char *fmt, uint32 customEntriesCount) +bool DBCFileLoader::Load(const char *filename, const char *fmt) { uint32 header; @@ -55,8 +55,6 @@ bool DBCFileLoader::Load(const char *filename, const char *fmt, uint32 customEnt EndianConvert(recordCount); - recordCount += customEntriesCount; - if(fread(&fieldCount,4,1,f)!=1) // Number of fields return false; |