Show road to the right of the toolbar when the road tool is active, like what happens with other field types.

This commit is contained in:
2025-03-10 22:48:09 -04:00
committed by Celtic Minstrel
parent 4e736a7e93
commit bcf8bf963e

View File

@@ -1554,6 +1554,9 @@ void place_location() {
} else if(overall_mode == MODE_PLACE_SFX) {
draw_field = true;
source_rect = calc_rect(mode_count, 3);
} else if(overall_mode == MODE_TOGGLE_ROAD) {
draw_field = true;
source_rect = calc_rect(0, 2);
}
if(draw_field) {
const sf::Texture& fields_gworld = *ResMgr::graphics.get("fields");