Skip to content

Commit 2b1e5d5

Browse files
committed
fixed compilation for clang
1 parent c19a85e commit 2b1e5d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/building/building_farm.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ void building_farm::static_params_t<T>::planer_ghost_preview(build_planner &plan
143143

144144
int image_id = get_farm_image(this->TYPE, end);
145145
planer.draw_building_ghost(ctx, image_id, pixel + vec2i{ -60, 30 });
146-
draw_crops(ctx, TYPE, 0, end, pixel + vec2i{ -60, 30 }, COLOR_MASK_GREEN);
146+
draw_crops(ctx, this->TYPE, 0, end, pixel + vec2i{ -60, 30 }, COLOR_MASK_GREEN);
147147
}
148148

149149
int building_farm::get_crops_image(e_building_type type, int growth) {

0 commit comments

Comments
 (0)