diff options
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; |