1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-17 03:29:09 +00:00

(svn r1178) Fix: Error message for building canals on slopes is correct

This commit is contained in:
dominik
2004-12-19 22:17:27 +00:00
parent 7182b2508d
commit 862370f232

View File

@@ -203,7 +203,7 @@ int32 CmdBuildCanal(int x, int y, uint32 flags, uint32 p1, uint32 p2)
ret = 0;
th = GetTileSlope(tile, NULL);
if(th!=0)
return_cmd_error(STR_1000_LAND_SLOPED_IN_WRONG_DIRECTION);
return_cmd_error(STR_0007_FLAT_LAND_REQUIRED);
// can't make water of water!
if (IS_TILETYPE(tile, MP_WATER)) {