A bug revealed by rP19569, the tech requirements of phase techs are not checked in the structree.
Thus, the civic centres of all civs currently have the athen-specific and the generic phase techs listed side-by-side.
This patch resolves that.
Differential D500
Test for phase techs' tech requirements in Structure Tree s0600204 on May 14 2017, 10:06 PM. Authored by
Details A bug revealed by rP19569, the tech requirements of phase techs are not checked in the structree. Thus, the civic centres of all civs currently have the athen-specific and the generic phase techs listed side-by-side. This patch resolves that. Run 0ad and open the structree. Each civ centre should now have the correct phase techs displayed, and only the correct phase techs displayed.
Diff Detail
Event TimelineComment Actions This is correct, because reqs is assigned the return value of DeriveTechnologyRequirements which returns the value of InterpretTechRequirements which is false if the civ cannot research the tech. Comment Actions Build is green Updating workspaces. Build (release)... Build (debug)... Running release tests... Running cxxtest tests (306 tests)..................................................................................................................................................................................................................................................................................................................OK! Running debug tests... Running cxxtest tests (306 tests)..................................................................................................................................................................................................................................................................................................................OK! http://jw:8080/job/phabricator/1204/ for more details. |