| 635 | } |
| 636 | |
| 637 | static void refresh_adjacent_smooth_walls(MapExtras::MapCache &map, |
| 638 | const DFCoord &pos) { |
| 639 | adjust_smooth_wall_dir(map, DFCoord(pos.x, pos.y-1, pos.z)); |
| 640 | adjust_smooth_wall_dir(map, DFCoord(pos.x, pos.y+1, pos.z)); |
| 641 | adjust_smooth_wall_dir(map, DFCoord(pos.x-1, pos.y, pos.z)); |
| 642 | adjust_smooth_wall_dir(map, DFCoord(pos.x+1, pos.y, pos.z)); |
| 643 | } |
| 644 | |
| 645 | // assumes that if the game let you designate a tile for smoothing, it must be |
| 646 | // valid to do so. |
no test coverage detected