mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-23 18:36:31 +01:00
*Fix server startup error from 5184.
--HG-- branch : trunk
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user