I did exactly the same in inc.category.php -- no result! Not for Category 99, not for some subcategories.
<div class="line">
<?php osc_goto_first_category(); ?>
<?php while(osc_has_categories()) { ?>
<?php if (osc_category_id() != 99) { continue; } ?>
<?php if (in_array(osc_category_id(), array(99,171,172,173,174,175,176,177,185))) { continue; } ?>
<?php
$search_params['sCategory'] = osc_category_id();
$color = del_get_cat_color(osc_category_id());
?>
<a href="<?php echo osc_search_url($search_params); ?>">
<div>
<?php if(del_param('cat_icons') == 1) { ?>
<i class="fas <?php echo del_get_cat_icon( osc_category_id(), true ); ?>" <?php if($color <> '') { ?>style="color:<?php echo $color; ?>;"<?php } ?>></i>
<?php } else { ?>
<img src="<?php echo del_get_cat_image(osc_category_id()); ?>" alt="<?php echo osc_esc_html(osc_category_name()); ?>" />
<?php } ?>
</div>
<h3><span><?php echo osc_category_name(); ?></span></h3>
</a>
<?php } ?>
</div>