summaryrefslogtreecommitdiff
path: root/depot_gui.c
diff options
context:
space:
mode:
authorDarkvater <Darkvater@openttd.org>2006-10-27 13:48:56 +0000
committerDarkvater <Darkvater@openttd.org>2006-10-27 13:48:56 +0000
commitcfb361ad081971c9a9ec5a7d7cce9b812ef56e20 (patch)
tree41298e7403c6f31941f5ae04d535cc33f2e07a4a /depot_gui.c
parent334313e483ebff19c2d314d57b4bdad8fe93e264 (diff)
downloadopenttd-cfb361ad081971c9a9ec5a7d7cce9b812ef56e20.tar.xz
(svn r6961) -Codechange: Remove relic from r212 WWT_NODISTXTBTN which was originally used to not
to allow clicking if a button was disabled. This has been superseded in r212 with general code that doesn't allow any click events for disabled buttons.
Diffstat (limited to 'depot_gui.c')
-rw-r--r--depot_gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/depot_gui.c b/depot_gui.c
index ca051c342..af0174ea2 100644
--- a/depot_gui.c
+++ b/depot_gui.c
@@ -98,7 +98,7 @@ static const Widget _depot_widgets[] = {
/* The buttons in the bottom of the window. left and right is not important as they are later resized to be equal in size
* This calculation is based on right in DEPOT_WIDGET_LOCATION and it presumes left of DEPOT_WIDGET_BUILD is 0 */
{ WWT_PUSHTXTBTN, RESIZE_TB, 14, 0, 85, 84, 95, 0x0, STR_NULL}, // DEPOT_WIDGET_BUILD
- {WWT_NODISTXTBTN, RESIZE_TB, 14, 86, 170, 84, 95, 0x0, STR_NULL}, // DEPOT_WIDGET_CLONE
+ {WWT_PUSHTXTBTN, RESIZE_TB, 14, 86, 170, 84, 95, 0x0, STR_NULL}, // DEPOT_WIDGET_CLONE
{ WWT_PUSHTXTBTN, RESIZE_TB, 14, 171, 257, 84, 95, STR_00E4_LOCATION, STR_NULL}, // DEPOT_WIDGET_LOCATION
{ WWT_PUSHTXTBTN, RESIZE_LRTB, 14, 258, 269, 84, 95, 0x0, STR_NULL}, // DEPOT_WIDGET_VEHICLE_LIST
{ WWT_PUSHIMGBTN, RESIZE_LRTB, 14, 270, 280, 84, 95, SPR_FLAG_VEH_STOPPED,STR_NULL}, // DEPOT_WIDGET_STOP_ALL