1 parent 62d0a3f commit 6c7ddd4Copy full SHA for 6c7ddd4
1 file changed
src/map/orientation.c
@@ -237,7 +237,8 @@ void map_orientation_update_buildings(void)
237
int orientation_is_top_bottom = map_orientation == DIR_0_TOP || map_orientation == DIR_4_BOTTOM;
238
for (int i = 1; i < MAX_BUILDINGS; i++) {
239
building *b = building_get(i);
240
- if (b->state == BUILDING_STATE_UNUSED || b->state == BUILDING_STATE_DELETED_BY_GAME) {
+ if (b->state == BUILDING_STATE_UNUSED || b->state == BUILDING_STATE_DELETED_BY_GAME ||
241
+ b->state == BUILDING_STATE_RUBBLE) {
242
continue;
243
}
244
int image_id;
0 commit comments