Changeset 10917 for code/branches/cpp11_v2/src/modules/questsystem
- Timestamp:
- Dec 2, 2015, 11:32:08 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v2/src/modules/questsystem/QuestManager.cc
r10916 r10917 235 235 { 236 236 int numQuests = 0; 237 for( auto& mapEntry : this->questMap_)237 for(const auto& mapEntry : this->questMap_) 238 238 { 239 239 if(mapEntry.second->getParentQuest() == nullptr && !mapEntry.second->isInactive(player)) … … 255 255 Quest* QuestManager::getRootQuest(PlayerInfo* player, int index) 256 256 { 257 for( auto& mapEntry : this->questMap_)257 for(const auto& mapEntry : this->questMap_) 258 258 { 259 259 if(mapEntry.second->getParentQuest() == nullptr && !mapEntry.second->isInactive(player) && index-- == 0)
Note: See TracChangeset
for help on using the changeset viewer.