Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/building/building.c
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ void building_update_state(void)
road_recalc = 1;
}
map_building_tiles_remove(b->id, b->x, b->y);
if (building_type_is_roadblock(b->type) && b->size == 1 && !building_type_is_bridge(b->type)) {
if (building_type_is_roadblock(b->type) == 1 && b->size == 1) {
// Leave the road behind the deleted roadblock
// except for bridges - they are coded as size 1 too
map_terrain_add(b->grid_offset, TERRAIN_ROAD);
Expand Down
Loading