mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-16 00:12:51 +00:00
(svn r1487) -Fix: [1100736] wrong tooltip for place desert button
This commit is contained in:
parent
97dd511971
commit
795f40c293
@ -1259,10 +1259,10 @@ static const int8 _multi_terraform_coords[][2] = {
|
|||||||
|
|
||||||
static void ScenEditLandGenWndProc(Window *w, WindowEvent *e)
|
static void ScenEditLandGenWndProc(Window *w, WindowEvent *e)
|
||||||
{
|
{
|
||||||
// XXX: show different tooltips in desert mode
|
|
||||||
switch(e->event) {
|
switch(e->event) {
|
||||||
case WE_PAINT:
|
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);
|
DrawWindowWidgets(w);
|
||||||
|
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user