[9167] Remove unused arg in new function added to prev. commit.

Also update ad.exe
This commit is contained in:
VladimirMangos 2010-01-13 06:02:53 +03:00
parent 2d37ac049a
commit 3d7d7fd512
3 changed files with 3 additions and 3 deletions

View file

@ -878,7 +878,7 @@ void ExtractMapsFromMpq()
delete [] map_ids; delete [] map_ids;
} }
bool ExtractFile( int locale, char const* mpq_name, std::string const& filename ) bool ExtractFile( char const* mpq_name, std::string const& filename )
{ {
FILE *output = fopen(filename.c_str(), "wb"); FILE *output = fopen(filename.c_str(), "wb");
if(!output) if(!output)
@ -927,7 +927,7 @@ void ExtractDBCFiles(int locale, bool basicLocale)
string filename = path; string filename = path;
filename += (iter->c_str() + strlen("DBFilesClient\\")); filename += (iter->c_str() + strlen("DBFilesClient\\"));
if(ExtractFile(locale, iter->c_str(), filename)) if(ExtractFile(iter->c_str(), filename))
++count; ++count;
} }
printf("Extracted %u DBC files\n\n", count); printf("Extracted %u DBC files\n\n", count);

Binary file not shown.

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__ #ifndef __REVISION_NR_H__
#define __REVISION_NR_H__ #define __REVISION_NR_H__
#define REVISION_NR "9166" #define REVISION_NR "9167"
#endif // __REVISION_NR_H__ #endif // __REVISION_NR_H__