- Timestamp:
- Nov 6, 2008, 12:02:05 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/questsystem2/src/orxonox/objects/quest/AddQuestHint.cc
r2105 r2146 33 33 #include "util/Exception.h" 34 34 35 #include "orxonox/objects/worldentities/ControllableEntity.h" 35 36 #include "QuestManager.h" 36 37 #include "QuestItem.h" … … 80 81 Returns true if the effect was successfully invoked. 81 82 */ 82 bool AddQuestHint::invoke( Player* player)83 bool AddQuestHint::invoke(ControllableEntity* player) 83 84 { 84 85 if(player == NULL) … … 91 92 { 92 93 QuestHint* hint = QuestManager::findHint(this->hintId_); 93 if(!hint-> activate(player))94 if(!hint->setActive(player)) 94 95 { 95 96 return false;
Note: See TracChangeset
for help on using the changeset viewer.