Skip to content

Commit f24175c

Browse files
committed
fixed compilation for clang
1 parent ce9c21e commit f24175c

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
@@ -135,7 +135,7 @@ template<class T>
135135
void building_farm::static_params_t<T>::planer_ghost_preview(build_planner &planer, painter &ctx, tile2i start, tile2i end, vec2i pixel) const {
136136
blocked_tile_vec blocked_tiles_farm;
137137

138-
const bool blocked = is_blocked(end, building_size, blocked_tiles_farm);
138+
const bool blocked = is_blocked(end, this->building_size, blocked_tiles_farm);
139139

140140
if (blocked) {
141141
planer.draw_partially_blocked(ctx, false, blocked_tiles_farm);

0 commit comments

Comments
 (0)