(svn r13513) -Codechange: Give proper message when building a river fails.

Give proper description of a river tile with the Query Tool.
Extracted (in part) from FS#1884, by Ammler
This commit is contained in:
belugas
2008-06-14 01:08:59 +00:00
parent d8fde03ec7
commit a91eb2ad13
3 changed files with 11 additions and 7 deletions

View File

@@ -135,7 +135,7 @@ bool GUIPlaceProcDragXY(ViewportDragDropSelectionProcess proc, TileIndex start_t
DoCommandP(end_tile, start_tile, _ctrl_pressed, CcBuildCanal, CMD_BUILD_CANAL | CMD_MSG(STR_CANT_BUILD_CANALS));
break;
case DDSP_CREATE_RIVER:
DoCommandP(end_tile, start_tile, 2, CcBuildCanal, CMD_BUILD_CANAL | CMD_MSG(STR_CANT_BUILD_CANALS));
DoCommandP(end_tile, start_tile, 2, CcBuildCanal, CMD_BUILD_CANAL | CMD_MSG(STR_CANT_PLACE_RIVERS));
break;
default:
return false;