Revert "Select the actions that will need confirmation."

This reverts commit 02caad7c1b.
This commit is contained in:
Sergii Pylypenko
2014-06-03 18:14:15 +03:00
parent 7e6e95c34c
commit a0581f42bd
9 changed files with 33 additions and 33 deletions

View File

@@ -156,7 +156,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) {
TouchCommandP(end_tile, this->tree_to_plant, start_tile,
DoCommandP(end_tile, this->tree_to_plant, start_tile,
CMD_PLANT_TREE | CMD_MSG(STR_ERROR_CAN_T_PLANT_TREE_HERE));
}
}