src/openttd.cpp
changeset 10152 5faa68713d8c
parent 10150 7f5047689c72
child 10153 4d982a782aa8
equal deleted inserted replaced
10151:0dd6c35bf0cc 10152:5faa68713d8c
   361 
   361 
   362 	/* Load the default opening screen savegame */
   362 	/* Load the default opening screen savegame */
   363 	if (SaveOrLoad("opntitle.dat", SL_LOAD, DATA_DIR) != SL_OK) {
   363 	if (SaveOrLoad("opntitle.dat", SL_LOAD, DATA_DIR) != SL_OK) {
   364 		GenerateWorld(GW_EMPTY, 64, 64); // if failed loading, make empty world.
   364 		GenerateWorld(GW_EMPTY, 64, 64); // if failed loading, make empty world.
   365 		WaitTillGeneratedWorld();
   365 		WaitTillGeneratedWorld();
       
   366 		SetLocalPlayer(PLAYER_SPECTATOR);
       
   367 	} else {
       
   368 		SetLocalPlayer(PLAYER_FIRST);
   366 	}
   369 	}
   367 
   370 
   368 	_pause_game = 0;
   371 	_pause_game = 0;
   369 	SetLocalPlayer(PLAYER_FIRST);
       
   370 	_cursor.fix_at = false;
   372 	_cursor.fix_at = false;
   371 	MarkWholeScreenDirty();
   373 	MarkWholeScreenDirty();
   372 
   374 
   373 	CheckForMissingGlyphsInLoadedLanguagePack();
   375 	CheckForMissingGlyphsInLoadedLanguagePack();
   374 
   376