Skip to content

Commit e298214

Browse files
author
s.kushnirenko
committed
fixed compilation for linux
1 parent 632b650 commit e298214

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/widget/city/tile_draw.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -121,13 +121,14 @@ void init_draw_context(int selected_figure_id, vec2i* figure_coord, int highligh
121121
g_draw_context.highlighted_formation = highlighted_formation;
122122
}
123123

124-
static bool drawing_building_as_deleted(building* b) {
124+
bool drawing_building_as_deleted(building* b) {
125125
if (!config_get(CONFIG_UI_VISUAL_FEEDBACK_ON_DELETE))
126126
return false;
127127

128128
b = b->main();
129129
if (b->id && (b->is_deleted || map_property_is_deleted(b->tile.grid_offset())))
130130
return true;
131+
131132
return false;
132133
}
133134

0 commit comments

Comments
 (0)