HomeWildfire Games

Avoid GUI errors for captured structures with paired tech of different civ.

Description

Avoid GUI errors for captured structures with paired tech of different civ.

If there is a building that has a paired tech researchable, where the two techs have a civ requirement but the parent pair tech doesn't, then the selection panels will throw errors.
This has happened with r18653, https://wildfiregames.com/forum/index.php?/topic/24732-de-alpha-24/page/2/ and other incidences.
Now when both paired techs have an unmet civ dependency they are not shown, when one of them hasn't, it is shown.

Fixes: #5915
Original patch by: @elexis
Changes by: @Freagarach
Differential revision: D2171
Comment by: @Imarok