Ticket #47803

Target specific counter_behaviour_is_valid()

Open Date: 2023-04-08 19:15 Last Update: 2023-04-08 19:15

Reporter:
Owner:
(None)
Type:
Status:
Open
Component:
MileStone:
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
None
File:
None

Details

With current #47292 implementation, there is no way to check validity of unit counters. Neither there is a way to check validity of city counters specifically - we still just use generic counter_behaviour_is_valid() which works as long as there's no single unit counter (nor any other counter that has target other than city).

So, we need something like 'counter_is_valid(enum counter_target target, enum counter_behaviour cb)'

Ticket History (1/1 Histories)

2023-04-08 19:15 Updated by: cazfi
  • New Ticket "Target specific counter_behaviour_is_valid()" created

Attachment File List

No attachments

Edit

Please login to add comment to this ticket » Login