- Timestamp:
- Nov 14, 2008, 7:45:22 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/questsystem2/src/orxonox/objects/quest/QuestEffectBeacon.cc
r2205 r2208 75 75 if(!b || !(this->isActive())) 76 76 { 77 COUT(3) << "The QuestEffectBeacon is inactive." << std::endl; 77 78 return false; 78 79 } 79 80 if(entity == NULL) 80 81 { 82 COUT(2) << "No one triggered the beacon? Curious!" << std::endl; 81 83 return false; 82 84 } 83 85 84 86 PlayerInfo* player = entity->getPlayer(); 87 88 if(player == NULL) 89 { 90 COUT(3) << "The PlayerInfo* is NULL." << std::endl; 91 return false; 92 } 85 93 86 94 bool check = QuestEffect::invokeEffects(player, this->effects_);
Note: See TracChangeset
for help on using the changeset viewer.