Picker tool: Add support for industries
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user