Fix the --list options, broken by the file logging (we _want_ them to console)

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12806 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
curaga 2013-05-30 11:24:39 +00:00
parent 320c525218
commit 007bbacf5f

View File

@ -521,6 +521,7 @@ int handleCmdLinePreliminary(int argc, char **argv)
!strcmp(argv[i], "-l" ))
{
ProfileWorld::disableGraphics();
UserConfigParams::m_log_errors_to_console=true;
}
#if !defined(WIN32) && !defined(__CYGWIN)
else if ( !strcmp(argv[i], "--fullscreen") || !strcmp(argv[i], "-f"))