(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 7a82b777bf
commit f5c99c09db

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)) {