equal
deleted
inserted
replaced
779 _scen_edit_town_gen_widgets, |
779 _scen_edit_town_gen_widgets, |
780 }; |
780 }; |
781 |
781 |
782 void ShowBuildTownWindow() |
782 void ShowBuildTownWindow() |
783 { |
783 { |
784 if (_game_mode != GM_EDITOR && !IsValidPlayer(_current_player)) return; |
784 if (_game_mode != GM_EDITOR && !IsValidPlayerID(_current_player)) return; |
785 AllocateWindowDescFront<ScenarioEditorTownGenerationWindow>(&_scen_edit_town_gen_desc, 0); |
785 AllocateWindowDescFront<ScenarioEditorTownGenerationWindow>(&_scen_edit_town_gen_desc, 0); |
786 } |
786 } |
787 |
787 |