Ticket #45709

req_copy() not copying "present" field

Open Date: 2022-09-25 04:43 Last Update: 2022-09-27 14:33

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

Details

req_copy() does not copy "present" field.

The consequence in current codebase is that the barbarian unit tech requirement on World range is checked with uninitialized "present" - when built on higher compiler optimization levels, those requirement check results are sometimes flipped.

Ticket History (3/5 Histories)

2022-09-25 04:43 Updated by: cazfi
  • New Ticket "req_copy() nor copying "present" field" created
2022-09-25 04:45 Updated by: cazfi
  • Summary Updated
2022-09-25 04:55 Updated by: cazfi
  • Owner Update from (None) to cazfi
  • Resolution Update from None to Accepted
2022-09-27 14:33 Updated by: cazfi
  • Status Update from Open to Closed
  • Resolution Update from Accepted to Fixed

Attachment File List

Edit

Please login to add comment to this ticket » Login