Removed automatically starting a race if --ghost is specified, since this will

start the wrong race if no --track is specified.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11244 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk
2012-05-17 23:11:41 +00:00
parent e5a3a45153
commit dbf7654178

View File

@@ -926,9 +926,6 @@ int handleCmdLine(int argc, char **argv)
else if( !strcmp(argv[i], "--ghost"))
{
ReplayPlay::create();
// Force the no-start screen flag, since this initialises
// the player structures correctly.
UserConfigParams::m_no_start_screen = true;
}
else if( sscanf(argv[i], "--history=%d", &n)==1)
{