Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- auto itor = m_pMapAchievements.begin();
- while(itor != m_pMapAchievements.end())
- {
- //Custom: Verify all 3 arguments before returning the achievement node
- if ((stricmp(szType, (*itor).second->szType) != 0) && (nPlayerArg != (*itor).second->nUnlock) && (nType
- != (*itor).second->nType))
- {
- ++itor;
- continue;
- }
- return (*itor).second;
- }
- return nullptr;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement