Ticket #46448

Stop accepting NULL target to terrain_extra_removal_time()

Open Date: 2023-01-04 16:39 Last Update: 2023-01-30 14:00

Reporter:
Owner:
Type:
Status:
Closed
Component:
MileStone:
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
Fixed
File:
1

Details

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.

Ticket History (3/4 Histories)

2023-01-04 16:39 Updated by: cazfi
  • New Ticket "Stop accepting NULL target to terrain_extra_removal_time()" created
2023-01-28 09:59 Updated by: cazfi
  • Owner Update from (None) to cazfi
  • Resolution Update from None to Accepted
2023-01-30 14:00 Updated by: cazfi
  • Status Update from Open to Closed
  • Resolution Update from Accepted to Fixed

Edit

Please login to add comment to this ticket » Login