mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-20 21:19:10 +00:00
(svn r18286) -Fix (r18280): Number of platforms and platform length start with 1.
This commit is contained in:
@@ -920,8 +920,7 @@ enum BuildRailStationWidgets {
|
|||||||
BRSW_PLATFORM_DIR_X,
|
BRSW_PLATFORM_DIR_X,
|
||||||
BRSW_PLATFORM_DIR_Y,
|
BRSW_PLATFORM_DIR_Y,
|
||||||
|
|
||||||
BRSW_PLATFORM_NUM_BEGIN,
|
BRSW_PLATFORM_NUM_1,
|
||||||
BRSW_PLATFORM_NUM_1 = BRSW_PLATFORM_NUM_BEGIN,
|
|
||||||
BRSW_PLATFORM_NUM_2,
|
BRSW_PLATFORM_NUM_2,
|
||||||
BRSW_PLATFORM_NUM_3,
|
BRSW_PLATFORM_NUM_3,
|
||||||
BRSW_PLATFORM_NUM_4,
|
BRSW_PLATFORM_NUM_4,
|
||||||
@@ -929,8 +928,7 @@ enum BuildRailStationWidgets {
|
|||||||
BRSW_PLATFORM_NUM_6,
|
BRSW_PLATFORM_NUM_6,
|
||||||
BRSW_PLATFORM_NUM_7,
|
BRSW_PLATFORM_NUM_7,
|
||||||
|
|
||||||
BRSW_PLATFORM_LEN_BEGIN,
|
BRSW_PLATFORM_LEN_1,
|
||||||
BRSW_PLATFORM_LEN_1 = BRSW_PLATFORM_LEN_BEGIN,
|
|
||||||
BRSW_PLATFORM_LEN_2,
|
BRSW_PLATFORM_LEN_2,
|
||||||
BRSW_PLATFORM_LEN_3,
|
BRSW_PLATFORM_LEN_3,
|
||||||
BRSW_PLATFORM_LEN_4,
|
BRSW_PLATFORM_LEN_4,
|
||||||
@@ -945,7 +943,10 @@ enum BuildRailStationWidgets {
|
|||||||
|
|
||||||
BRSW_NEWST_DROPDOWN,
|
BRSW_NEWST_DROPDOWN,
|
||||||
BRSW_NEWST_LIST,
|
BRSW_NEWST_LIST,
|
||||||
BRSW_NEWST_SCROLL
|
BRSW_NEWST_SCROLL,
|
||||||
|
|
||||||
|
BRSW_PLATFORM_NUM_BEGIN = BRSW_PLATFORM_NUM_1 - 1,
|
||||||
|
BRSW_PLATFORM_LEN_BEGIN = BRSW_PLATFORM_LEN_1 - 1,
|
||||||
};
|
};
|
||||||
|
|
||||||
struct BuildRailStationWindow : public PickerWindowBase {
|
struct BuildRailStationWindow : public PickerWindowBase {
|
||||||
|
Reference in New Issue
Block a user