* checks if an unresearched topic has previously been popped up. * @param research is the project we are checking for * @return whether or not it has been popped up. */
| 1642 | * @return whether or not it has been popped up. |
| 1643 | */ |
| 1644 | bool SavedGame::wasResearchPopped(const RuleResearch* research) |
| 1645 | { |
| 1646 | return (std::find(_poppedResearch.begin(), _poppedResearch.end(), research) != _poppedResearch.end()); |
| 1647 | } |
| 1648 | |
| 1649 | /* |
| 1650 | * checks for and removes a research project from the "has been popped up" array |
no outgoing calls
no test coverage detected