Select the actions that will need confirmation.
This commit is contained in:
@@ -160,7 +160,7 @@ public:
|
||||
virtual void OnPlaceMouseUp(ViewportPlaceMethod select_method, ViewportDragDropSelectionProcess select_proc, Point pt, TileIndex start_tile, TileIndex end_tile)
|
||||
{
|
||||
if (pt.x != -1 && select_proc == DDSP_PLANT_TREES) {
|
||||
DoCommandP(end_tile, this->tree_to_plant, start_tile,
|
||||
TouchCommandP(end_tile, this->tree_to_plant, start_tile,
|
||||
CMD_PLANT_TREE | CMD_MSG(STR_ERROR_CAN_T_PLANT_TREE_HERE));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user