*Fix server startup error from 5184.

--HG--
branch : trunk
This commit is contained in:
QAston
2009-08-18 20:17:06 +02:00
parent d3d2eb91bb
commit 5ffa85c858
4 changed files with 6 additions and 8 deletions

View File

@@ -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;