terrain_extra_removal_time() can not accept NULL target when the removal times go target specific. Make sure it's never called with NULL target, and drop the handling of NULL target within.
Rewrite of calc_activity() in #46447 should resolve calls from there.
terrain_extra_removal_time() can not accept NULL target when the removal times go target specific. Make sure it's never called with NULL target, and drop the handling of NULL target within.
Rewrite of calc_activity() in #46447 should resolve calls from there.