Make sure that --history (and other options that immediately cause
a race to start) work properly without having to specify -N. git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10787 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
a44bee360d
commit
8dd5b8461c
@ -869,7 +869,6 @@ int handleCmdLine(int argc, char **argv)
|
||||
|| !strcmp(argv[i], "-N") )
|
||||
{
|
||||
UserConfigParams::m_no_start_screen = true;
|
||||
unlock_manager->setCurrentSlot(UserConfigParams::m_all_players[0].getName());
|
||||
}
|
||||
else if ( !strcmp(argv[i], "--race-now")
|
||||
|| !strcmp(argv[i], "-R") )
|
||||
@ -960,6 +959,9 @@ int handleCmdLine(int argc, char **argv)
|
||||
return 0;
|
||||
}
|
||||
} // for i <argc
|
||||
if(UserConfigParams::m_no_start_screen)
|
||||
unlock_manager->setCurrentSlot(UserConfigParams::m_all_players[0]
|
||||
.getName() );
|
||||
if(ProfileWorld::isProfileMode())
|
||||
{
|
||||
UserConfigParams::m_sfx = false; // Disable sound effects
|
||||
|
Loading…
Reference in New Issue
Block a user