mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 13:37:05 +00:00
[9167] Remove unused arg in new function added to prev. commit.
Also update ad.exe
This commit is contained in:
parent
2d37ac049a
commit
3d7d7fd512
3 changed files with 3 additions and 3 deletions
|
|
@ -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.
|
|
@ -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__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue