| 330 | } |
| 331 | |
| 332 | static bool is_wall(MapExtras::MapCache &map, const DFCoord &pos) { |
| 333 | if (!map.ensureBlockAt(pos)) |
| 334 | return false; |
| 335 | return tileShape(map.tiletypeAt(pos)) == df::tiletype_shape::WALL; |
| 336 | } |
| 337 | |
| 338 | static void clean_ramp(MapExtras::MapCache &map, const DFCoord &pos) { |
| 339 | if (!map.ensureBlockAt(pos)) |
no test coverage detected