- Timestamp:
- Dec 14, 2008, 1:42:17 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation/src/orxonox/objects/quest/QuestEffectBeacon.cc
r2385 r2435 28 28 29 29 /** 30 @file QuestEffectBeacon.cc30 @file 31 31 @brief Implementation of the QuestEffectBeacon class. 32 32 */ … … 45 45 #include "QuestEffect.h" 46 46 47 namespace orxonox {48 47 namespace orxonox 48 { 49 49 CreateFactory(QuestEffectBeacon); 50 50 … … 58 58 59 59 this->status_ = QuestEffectBeaconStatus::active; 60 this->times_ = INFINITE ;60 this->times_ = INFINITE_TIME; 61 61 } 62 62 … … 186 186 return false; 187 187 } 188 if(this->getTimes() == INFINITE ) //!< If times is infinity the QuestEffectBeacon can be executed an infinite number fo times.188 if(this->getTimes() == INFINITE_TIME) //!< If times is infinity the QuestEffectBeacon can be executed an infinite number fo times. 189 189 { 190 190 return true; … … 212 212 bool QuestEffectBeacon::setTimes(const int & n) 213 213 { 214 if(n < 0 && n != INFINITE )214 if(n < 0 && n != INFINITE_TIME) 215 215 { 216 216 return false;
Note: See TracChangeset
for help on using the changeset viewer.