Skip to content

Commit

Permalink
Tools/VMapExtractor: Do not append "Data" twice.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gacko committed Nov 20, 2015
1 parent 0df8263 commit 7f075ae
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/tools/vmap4_extractor/vmapexport.cpp
Expand Up @@ -391,15 +391,6 @@ void ParsMapFiles()
}
}

void getGamePath()
{
#ifdef _WIN32
strcpy(input_path,"Data\\");
#else
strcpy(input_path,"Data/");
#endif
}

bool processArgv(int argc, char ** argv, const char *versionString)
{
bool result = true;
Expand Down Expand Up @@ -454,9 +445,6 @@ bool processArgv(int argc, char ** argv, const char *versionString)
printf(" -? : This message.\n");
}

if(!hasInputPathParam)
getGamePath();

return result;
}

Expand Down

0 comments on commit 7f075ae

Please sign in to comment.