weird commit number 2 to fix issues
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/networking@13120 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
1e94193b8b
commit
f56f1ec3b1
@ -981,6 +981,9 @@ int handleCmdLine(int argc, char **argv)
|
||||
ProfileWorld::setProfileModeTime((float)n);
|
||||
race_manager->setNumLaps(999999); // profile end depends on time
|
||||
}
|
||||
else if( !strcmp(argv[i], "--no-graphics") )
|
||||
{
|
||||
}
|
||||
else if( !strcmp(argv[i], "--with-profile") )
|
||||
{
|
||||
// Set default profile mode of 1 lap if we haven't already set one
|
||||
|
@ -195,7 +195,7 @@ void OnlineScreen::eventCallback(Widget* widget, const std::string& name, const
|
||||
{
|
||||
//if (m_recorded_state == Registered || m_recorded_state == Guest) FIXME
|
||||
StateManager::get()->pushScreen(NetworkingLobby::getInstance());
|
||||
ProtocolManager::getInstance()->requestStart(new ConnectToServer(3));
|
||||
ProtocolManager::getInstance()->requestStart(new ConnectToServer(7));
|
||||
}
|
||||
|
||||
} // eventCallback
|
||||
|
Loading…
Reference in New Issue
Block a user