Advertisement
Guest User

Untitled

a guest
Sep 2nd, 2016
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. auto itor = m_pMapAchievements.begin();
  2. while(itor != m_pMapAchievements.end())
  3. {
  4. //Custom: Verify all 3 arguments before returning the achievement node
  5. if ((stricmp(szType, (*itor).second->szType) != 0) && (nPlayerArg != (*itor).second->nUnlock) && (nType
  6. != (*itor).second->nType))
  7. {
  8. ++itor;
  9. continue;
  10. }
  11. return (*itor).second;
  12. }
  13. return nullptr;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement