Loading

Revision differences

Old revision #psebpsnidNew revision #pz8my8xcv
5  5  
6    /* Rivers can't be terraformed if the resulting formation is not flat or inclined */  6    /* Rivers can't be terraformed if the resulting formation is not flat or inclined */  
7    if (IsWaterTile(tile) && IsRiver(tile)) {  7    if (IsWaterTile(tile) && IsRiver(tile)) {  
8        if (IsTileFlat(tileh_new) || IsInclinedSlope(tileh_new)) {  8        if (IsTileFlat(tile) && IsInclinedSlope(tileh_new)) {
9        }  9        }  
10        else {  10        else {  
11            return_cmd_error(STR_ERROR_LAND_SLOPED_IN_WRONG_DIRECTION);  11            return_cmd_error(STR_ERROR_LAND_SLOPED_IN_WRONG_DIRECTION);