summaryrefslogtreecommitdiff
path: root/src/widgets
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2016-10-30 17:36:57 +0000
committerfrosch <frosch@openttd.org>2016-10-30 17:36:57 +0000
commit30574a7cada538518c57e192e171fdd094075f9e (patch)
treed7f54831496cfded848c51cc23b41cab0d09c072 /src/widgets
parent31f046bd9bfec6be5b5a24f113f3b301376763e6 (diff)
downloadopenttd-30574a7cada538518c57e192e171fdd094075f9e.tar.xz
(svn r27671) -Codechange: Replace magic numbers in the toolbar with the already existing WID_TN_xxx. (Wolf01)
Diffstat (limited to 'src/widgets')
-rw-r--r--src/widgets/toolbar_widget.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/widgets/toolbar_widget.h b/src/widgets/toolbar_widget.h
index 6ede3ad63..434a238ac 100644
--- a/src/widgets/toolbar_widget.h
+++ b/src/widgets/toolbar_widget.h
@@ -36,7 +36,8 @@ enum ToolbarNormalWidgets {
WID_TN_AIRCRAFTS, ///< Aircraft menu.
WID_TN_ZOOM_IN, ///< Zoom in the main viewport.
WID_TN_ZOOM_OUT, ///< Zoom out the main viewport.
- WID_TN_RAILS, ///< Rail building menu.
+ WID_TN_BUILDING_TOOLS_START, ///< Helper for the offset of the building tools
+ WID_TN_RAILS = WID_TN_BUILDING_TOOLS_START, ///< Rail building menu.
WID_TN_ROADS, ///< Road building menu.
WID_TN_WATER, ///< Water building toolbar.
WID_TN_AIR, ///< Airport building toolbar.