Skip to content

Commit

Permalink
Add building descriptions to workshops
Browse files Browse the repository at this point in the history
  • Loading branch information
Keriew committed Aug 31, 2021
1 parent af4d421 commit e6a2a58
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 2 additions & 0 deletions src/window/building/industry.c
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,8 @@ static void draw_workshop(

inner_panel_draw(c->x_offset + 16, c->y_offset + 136, c->width_blocks - 2, 4);
window_building_draw_employment(c, 142);
window_building_draw_description_at(c, BLOCK_SIZE * c->height_blocks - 136, group_id, 1);

}

void window_building_draw_wine_workshop(building_info_context *c)
Expand Down
5 changes: 0 additions & 5 deletions src/window/building_info.c
Original file line number Diff line number Diff line change
Expand Up @@ -145,11 +145,6 @@ static int get_height_id(void)
case BUILDING_FORUM:
case BUILDING_ROADBLOCK:
case BUILDING_FORUM_UPGRADED:
case BUILDING_WINE_WORKSHOP:
case BUILDING_OIL_WORKSHOP:
case BUILDING_WEAPONS_WORKSHOP:
case BUILDING_FURNITURE_WORKSHOP:
case BUILDING_POTTERY_WORKSHOP:
case BUILDING_WORKCAMP:
case BUILDING_ARCHITECT_GUILD:
case BUILDING_OBELISK:
Expand Down

0 comments on commit e6a2a58

Please sign in to comment.