mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-17 21:25:40 +00:00
(svn r1178) Fix: Error message for building canals on slopes is correct
This commit is contained in:
parent
7182b2508d
commit
862370f232
@ -203,7 +203,7 @@ int32 CmdBuildCanal(int x, int y, uint32 flags, uint32 p1, uint32 p2)
|
|||||||
ret = 0;
|
ret = 0;
|
||||||
th = GetTileSlope(tile, NULL);
|
th = GetTileSlope(tile, NULL);
|
||||||
if(th!=0)
|
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!
|
// can't make water of water!
|
||||||
if (IS_TILETYPE(tile, MP_WATER)) {
|
if (IS_TILETYPE(tile, MP_WATER)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user