File diff r17372:5735d885db8e → r17373:97cac55958cb
src/saveload/afterload.cpp
Show inline comments
 
@@ -679,13 +679,13 @@ bool AfterLoadGame()
 
		FOR_ALL_COMPANIES(c) {
 
			if (c->is_ai && c->ai_instance == NULL) AI::StartNew(c->index);
 
		}
 
	}
 

	
 
	/* make sure there is a town in the game */
 
	if (_game_mode == GM_NORMAL && !ClosestTownFromTile(0, UINT_MAX)) {
 
	if (_game_mode == GM_NORMAL && Town::GetNumItems() == 0) {
 
		SetSaveLoadError(STR_ERROR_NO_TOWN_IN_SCENARIO);
 
		/* Restore the signals */
 
		ResetSignalHandlers();
 
		return false;
 
	}