MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / addPoppedResearch

Method addPoppedResearch

src/Savegame/SavedGame.cpp:1633–1637  ·  view source on GitHub ↗

* marks a research topic as having already come up as "we can now research" * @param research is the project we want to add to the vector */

Source from the content-addressed store, hash-verified

1631 * @param research is the project we want to add to the vector
1632 */
1633void SavedGame::addPoppedResearch(const RuleResearch* research)
1634{
1635 if (!wasResearchPopped(research))
1636 _poppedResearch.push_back(research);
1637}
1638
1639/*
1640 * checks if an unresearched topic has previously been popped up.

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected