equal
deleted
inserted
replaced
180 ret = DoBuildShiplift(tile, _shiplift_dirs[th], flags); |
180 ret = DoBuildShiplift(tile, _shiplift_dirs[th], flags); |
181 return ret; |
181 return ret; |
182 } |
182 } |
183 else |
183 else |
184 return_cmd_error(STR_1000_LAND_SLOPED_IN_WRONG_DIRECTION); |
184 return_cmd_error(STR_1000_LAND_SLOPED_IN_WRONG_DIRECTION); |
185 |
|
186 return 0; |
|
187 } |
185 } |
188 |
186 |
189 int32 CmdBuildCanal(int x, int y, uint32 flags, uint32 p1, uint32 p2) |
187 int32 CmdBuildCanal(int x, int y, uint32 flags, uint32 p1, uint32 p2) |
190 { |
188 { |
191 uint tile = TILE_FROM_XY(x,y); |
189 uint tile = TILE_FROM_XY(x,y); |