Merge branch 'lethosor/zone-cage-owner-scroll-crash' into develop

develop
lethosor 2015-02-06 19:18:02 -05:00
commit 24cc1b25a3
1 changed files with 15 additions and 13 deletions

@ -4064,6 +4064,8 @@ struct zone_hook : public df::viewscreen_dwarfmodest
ui_building_in_assign && *ui_building_in_assign &&
ui_building_assign_type && ui_building_assign_units &&
ui_building_assign_type->size() == ui_building_assign_units->size() &&
ui_building_assign_type->size() == ui_building_assign_items->size() &&
ui_building_assign_type->size() == ui_building_assign_is_marked->size() &&
ui_building_item_cursor &&
world->selected_building && isCage(world->selected_building) )
)