- Timestamp:
- Oct 27, 2008, 8:31:20 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/questsystem/src/orxonox/objects/AddQuest.cc
r1996 r2021 27 27 */ 28 28 29 #include <string> 30 29 31 #include "core/CoreIncludes.h" 32 33 #include "QuestManager.h" 34 #include "Quest.h" 30 35 #include "AddQuest.h" 31 36 … … 33 38 34 39 CreateFactory(AddQuest); 40 41 42 AddQuest::AddQuest() : ChangeQuestStatus() 43 { 44 45 } 35 46 36 47 /** … … 59 70 The player the effect is invoked on. 60 71 */ 61 void AddQuest::invoke(Player &player)72 void AddQuest::invoke(Player* player) 62 73 { 63 Quest quest = QuestManager::findQuest(this->getQuestId());64 quest .start(player);74 Quest* quest = QuestManager::findQuest(this->getQuestId()); 75 quest->start(player); 65 76 } 66 77
Note: See TracChangeset
for help on using the changeset viewer.