File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ static void setup_buttons_for_selected_depot(building_info_context *c)
143
143
if (building_id ) {
144
144
building * store_building = building_get (building_id );
145
145
if (store_building && building_is_active (store_building ) && store_building -> storage_id == i &&
146
- & & building_storage_resource_max_storable (store_building , data .target_resource_id ) > 0 ) {
146
+ building_storage_resource_max_storable (store_building , data .target_resource_id ) > 0 ) {
147
147
current_storage_offset ++ ;
148
148
if (current_storage_offset < scrollbar .scroll_position ) {
149
149
continue ;
@@ -177,7 +177,7 @@ static void calculate_available_storages(int building_id)
177
177
}
178
178
building * store_building = building_get (storage_building_id );
179
179
if (store_building && building_is_active (store_building ) && store_building -> storage_id == i &&
180
- & & building_storage_resource_max_storable (store_building , data .target_resource_id ) > 0 ) {
180
+ building_storage_resource_max_storable (store_building , data .target_resource_id ) > 0 ) {
181
181
data .available_storages ++ ;
182
182
if (b -> data .depot .current_order .src_storage_id == store_building -> id ) {
183
183
has_valid_src = 1 ;
You can’t perform that action at this time.
0 commit comments