Use argc and argv passed down
This commit is contained in:
parent
2281bcb6cd
commit
0619031cb6
7 changed files with 13 additions and 17 deletions
|
@ -80,9 +80,9 @@ std::string getGamesDir()
|
|||
}
|
||||
|
||||
// =====================================================================================================================
|
||||
int runFromFilesystem( const std::string& gamestring )
|
||||
int runFromFilesystem(int argc, char* argv[])
|
||||
{
|
||||
std::string gamefile = gamestring;
|
||||
std::string gamefile = argv[1];
|
||||
|
||||
// Default for maps
|
||||
std::string ttrts_maps_dir = getMapsDir();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue