mirror of https://github.com/OpenTTD/OpenTTD
(svn r16218) -Codechange: Move BuildRoadStationWidgets enum outside window struct.
parent
c8ac8decce
commit
8ae0696447
|
@ -890,8 +890,6 @@ static void ShowRoadDepotPicker(Window *parent)
|
||||||
new BuildRoadDepotWindow(&_build_road_depot_desc, parent);
|
new BuildRoadDepotWindow(&_build_road_depot_desc, parent);
|
||||||
}
|
}
|
||||||
|
|
||||||
struct BuildRoadStationWindow : public PickerWindowBase {
|
|
||||||
private:
|
|
||||||
/** Enum referring to the widgets of the build road station window */
|
/** Enum referring to the widgets of the build road station window */
|
||||||
enum BuildRoadStationWidgets {
|
enum BuildRoadStationWidgets {
|
||||||
BRSW_CLOSEBOX = 0,
|
BRSW_CLOSEBOX = 0,
|
||||||
|
@ -908,7 +906,7 @@ private:
|
||||||
BRSW_INFO,
|
BRSW_INFO,
|
||||||
};
|
};
|
||||||
|
|
||||||
public:
|
struct BuildRoadStationWindow : public PickerWindowBase {
|
||||||
BuildRoadStationWindow(const WindowDesc *desc, Window *parent, RoadStopType rs) : PickerWindowBase(desc, parent)
|
BuildRoadStationWindow(const WindowDesc *desc, Window *parent, RoadStopType rs) : PickerWindowBase(desc, parent)
|
||||||
{
|
{
|
||||||
/* Trams don't have non-drivethrough stations */
|
/* Trams don't have non-drivethrough stations */
|
||||||
|
|
Loading…
Reference in New Issue