Changeset - r989:2b61c4f9bca4
[Not reviewed]
master
0 1 0
darkvater - 19 years ago 2005-01-12 11:50:41
darkvater@openttd.org
(svn r1487) -Fix: [1100736] wrong tooltip for place desert button
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
main_gui.c
Show inline comments
 
@@ -1259,10 +1259,10 @@ static const int8 _multi_terraform_coord
 

	
 
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);
 

	
 
		{
0 comments (0 inline, 0 general)