Fixed empty GP list
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6088 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
69feb27034
commit
2c98942c6c
13
src/main.cpp
13
src/main.cpp
@ -557,13 +557,6 @@ void initRest()
|
||||
item_manager = new ItemManager ();
|
||||
attachment_manager = new AttachmentManager ();
|
||||
highscore_manager = new HighscoreManager ();
|
||||
|
||||
grand_prix_manager = new GrandPrixManager ();
|
||||
// Consistency check for challenges, and enable all challenges
|
||||
// that have all prerequisites fulfilled
|
||||
grand_prix_manager->checkConsistency();
|
||||
GUIEngine::addLoadingIcon( irr_driver->getTexture(file_manager->getTextureFile("cup_gold.png")) );
|
||||
|
||||
network_manager = new NetworkManager ();
|
||||
#ifdef ADDONS_MANAGER
|
||||
network_http = new NetworkHttp ();
|
||||
@ -576,6 +569,12 @@ void initRest()
|
||||
|
||||
GUIEngine::addLoadingIcon( irr_driver->getTexture(file_manager->getTextureFile("notes.png")) );
|
||||
|
||||
grand_prix_manager = new GrandPrixManager ();
|
||||
// Consistency check for challenges, and enable all challenges
|
||||
// that have all prerequisites fulfilled
|
||||
grand_prix_manager->checkConsistency();
|
||||
GUIEngine::addLoadingIcon( irr_driver->getTexture(file_manager->getTextureFile("cup_gold.png")) );
|
||||
|
||||
race_manager = new RaceManager ();
|
||||
// default settings for Quickstart
|
||||
race_manager->setNumPlayers(1);
|
||||
|
Loading…
Reference in New Issue
Block a user