File diff r9651:0fa75691a92a → r9652:8dc9b501f076
src/town_gui.cpp
Show inline comments
 
@@ -778,10 +778,10 @@ static const WindowDesc _scen_edit_town_
 
	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_STICKY_BUTTON,
 
	_scen_edit_town_gen_widgets,
 
};
 

	
 
void ShowBuildTownWindow()
 
{
 
	if (_game_mode != GM_EDITOR && !IsValidPlayer(_current_player)) return;
 
	if (_game_mode != GM_EDITOR && !IsValidPlayerID(_current_player)) return;
 
	AllocateWindowDescFront<ScenarioEditorTownGenerationWindow>(&_scen_edit_town_gen_desc, 0);
 
}