Picker tool: Add support for industries

This commit is contained in:
Jonathan G Rennison
2024-02-01 20:03:56 +00:00
parent 9f55550417
commit 3886ea75a6
3 changed files with 59 additions and 19 deletions

View File

@@ -61,6 +61,7 @@
#include "newgrf_station.h"
#include "zoom_func.h"
#include "help_gui.h"
#include "industry_map.h"
#include "widgets/toolbar_widget.h"
@@ -1136,6 +1137,11 @@ static void UsePickerTool(TileIndex tile)
break;
}
case MP_INDUSTRY: {
ShowBuildIndustryWindowForIndustryType(GetIndustryType(tile));
break;
}
default:
break;
}