Skip to content

Commit

Permalink
Fix offset text forum and senate if no road access
Browse files Browse the repository at this point in the history
  • Loading branch information
eugenikus8 committed Jan 26, 2025
1 parent ac6be58 commit d9ba408
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/window/building/government.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ void window_building_draw_forum(building_info_context *c)
c->x_offset + 44 + width, c->y_offset + 43, FONT_NORMAL_BLACK);

if (!c->has_road_access) {
window_building_draw_description(c, 69, 25);
window_building_draw_description_at(c, 72, 69, 25);
} else if (b->num_workers <= 0) {
window_building_draw_description_at(c, 72, 106, 10);
} else if (c->worker_percentage >= 100) {
Expand Down Expand Up @@ -63,7 +63,7 @@ void window_building_draw_senate(building_info_context *c)
c->x_offset + 44 + width, c->y_offset + 43, FONT_NORMAL_BLACK);

if (!c->has_road_access) {
window_building_draw_description(c, 69, 25);
window_building_draw_description_at(c, 72, 69, 25);
} else if (b->num_workers <= 0) {
window_building_draw_description_at(c, 72, 106, 10);
} else if (c->worker_percentage >= 100) {
Expand Down

0 comments on commit d9ba408

Please sign in to comment.