summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordarkvater <darkvater@openttd.org>2005-01-12 11:50:41 +0000
committerdarkvater <darkvater@openttd.org>2005-01-12 11:50:41 +0000
commit795f40c2939fe251f85fc11eee71b2a75d66b013 (patch)
tree91e667aec1356945749155bf8a5c9be3f9c6adbb
parent97dd511971f00a2affaa8d17bb7d0d6c3e13f206 (diff)
downloadopenttd-795f40c2939fe251f85fc11eee71b2a75d66b013.tar.xz
(svn r1487) -Fix: [1100736] wrong tooltip for place desert button
-rw-r--r--main_gui.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main_gui.c b/main_gui.c
index 1df9bcdae..63937fe6a 100644
--- a/main_gui.c
+++ b/main_gui.c
@@ -1259,10 +1259,10 @@ static const int8 _multi_terraform_coords[][2] = {
static void ScenEditLandGenWndProc(Window *w, WindowEvent *e)
{
- // XXX: show different tooltips in desert mode
switch(e->event) {
case WE_PAINT:
- // XXX: only show reset button when nothing was built
+ // XXX - lighthouse button is widget 11!! Don't forget when changing
+ w->widget[11].tooltips = (_opt.landscape == LT_DESERT) ? STR_028F_DEFINE_DESERT_AREA : STR_028D_PLACE_LIGHTHOUSE;
DrawWindowWidgets(w);
{