- Timestamp:
- Nov 8, 2008, 7:58:49 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/questsystem2/src/orxonox/objects/quest/GlobalQuest.cc
r2146 r2159 48 48 /** 49 49 @brief 50 Constructor. Initializes the object.50 Constructor. Registers the object. 51 51 */ 52 52 GlobalQuest::GlobalQuest(BaseObject* creator) : Quest(creator) 53 {54 this->initialize();55 }56 57 /**58 @brief59 Initializes the object.60 */61 void GlobalQuest::initialize(void)62 53 { 63 54 RegisterObject(GlobalQuest); … … 104 95 for(std::set<ControllableEntity*>::const_iterator it = players_.begin(); it != players_.end(); it++) 105 96 { 106 QuestEffect::invokeEffects(*it, this-> failEffects_);97 QuestEffect::invokeEffects(*it, this->getFailEffectList()); 107 98 } 108 99 … … 133 124 for(std::set<ControllableEntity*>::const_iterator it = players_.begin(); it != players_.end(); it++) 134 125 { 135 QuestEffect::invokeEffects(*it, this-> completeEffects_);126 QuestEffect::invokeEffects(*it, this->getCompleteEffectList()); 136 127 } 137 128
Note: See TracChangeset
for help on using the changeset viewer.