mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-28 04:42:10 +01:00
Replace tabs with spaces in more files.
--HG-- branch : trunk
This commit is contained in:
@@ -256,7 +256,7 @@ void LoadLocaleMPQFiles(int const locale)
|
||||
new MPQArchive(filename);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void LoadCommonMPQFiles()
|
||||
{
|
||||
char filename[512];
|
||||
@@ -291,7 +291,7 @@ int main(int argc, char * arg[])
|
||||
HandleArgs(argc, arg);
|
||||
|
||||
int FirstLocale = -1;
|
||||
|
||||
|
||||
for (int i = 0; i < LANG_COUNT; i++)
|
||||
{
|
||||
char tmp1[512];
|
||||
@@ -299,10 +299,10 @@ int main(int argc, char * arg[])
|
||||
if (FileExists(tmp1))
|
||||
{
|
||||
printf("Detected locale: %s\n", langs[i]);
|
||||
|
||||
|
||||
//Open MPQs
|
||||
LoadLocaleMPQFiles(i);
|
||||
|
||||
|
||||
if((extract & EXTRACT_DBC) == 0)
|
||||
{
|
||||
FirstLocale = i;
|
||||
@@ -328,15 +328,15 @@ int main(int argc, char * arg[])
|
||||
printf("No locales detected\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
if (extract & EXTRACT_MAP)
|
||||
{
|
||||
printf("Using locale: %s\n", langs[FirstLocale]);
|
||||
|
||||
|
||||
// Open MPQs
|
||||
LoadLocaleMPQFiles(FirstLocale);
|
||||
LoadCommonMPQFiles();
|
||||
|
||||
|
||||
// Extract maps
|
||||
ExtractMapsFromMpq();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user