Permalink
Browse files

unify researched artefact... determination?

  • Loading branch information...
Warboy1982 committed Jan 19, 2018
1 parent 8a82c97 commit 92495e5f1a615f3ca4e21ad97160e85bbc46065a
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Battlescape/DebriefingState.cpp
@@ -1648,7 +1648,7 @@ void DebriefingState::recoverItems(std::vector<BattleItem*> *from, Base *base)
}
}
// only add recovery points for unresearched items
else if (!_game->getSavedGame()->isResearched((*it)->getRules()->getType()))
else if (!_game->getSavedGame()->isResearched((*it)->getRules()->getRequirements()))
{
addStat("STR_ALIEN_ARTIFACTS_RECOVERED", 1, (*it)->getRules()->getRecoveryPoints());
}

0 comments on commit 92495e5

Please sign in to comment.