Changeset 6139 in orxonox.OLD for trunk/src/orxonox.cc
- Timestamp:
- Dec 16, 2005, 6:45:32 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/orxonox.cc
r6079 r6139 280 280 if( this->serverName != NULL) // we are a client 281 281 NetworkManager::getInstance()->establishConnection(this->serverName, port); 282 else if( this->port > 0) 282 else if( this->port > 0) { // we are a server 283 283 NetworkManager::getInstance()->createServer(port); 284 } 284 285 285 286 return 0; … … 352 353 this->gameLoader = GameLoader::getInstance(); 353 354 354 if( this->port != -1 || this->serverName != NULL)355 this->gameLoader->load Campaign("worlds/DefaultCampaign.oxc"); /* actualy loadNetworkCampaign*/355 if( this->port != -1) 356 this->gameLoader->loadNetworkCampaign("worlds/DefaultNetworkCampaign.oxc"); 356 357 else 357 this->gameLoader->loadCampaign("worlds/DefaultCampaign.oxc"); 358 this->gameLoader->loadCampaign("worlds/DefaultCampaign.oxc"); /* start orxonox in single player mode */ 358 359 359 360 // this->gameLoader->loadDebugCampaign(DEBUG_CAMPAIGN_0);
Note: See TracChangeset
for help on using the changeset viewer.