From da848a4c721d392c4bdb8387ef905d001ddf2a03 Mon Sep 17 00:00:00 2001 From: hiker Date: Mon, 31 Aug 2015 17:09:51 +1000 Subject: [PATCH] Accept --difficulty as well as --mode. --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 9d6e1088c..59c219942 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -848,7 +848,7 @@ int handleCmdLine() race_manager->setNumKarts((int)l.size()+1); } // --ai - if(CommandLine::has( "--mode", &s)) + if(CommandLine::has( "--mode", &s) || CommandLine::has( "--difficulty", &s)) { int n = atoi(s.c_str()); if(n<0 || n>RaceManager::DIFFICULTY_LAST)