- Timestamp:
- Nov 19, 2008, 4:06:09 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/questsystem2/src/orxonox/objects/quest/CompleteQuest.cc
r2209 r2226 71 71 { 72 72 SUPER(CompleteQuest, XMLPort, xmlelement, mode); 73 74 COUT(3) << "New CompleteQuest, with target Quest {" << this->getQuestId() << "}, created." << std::endl; 73 75 } 74 76 … … 96 98 { 97 99 quest = QuestManager::findQuest(this->getQuestId()); 98 if( !quest->complete(player))100 if(quest == NULL || !quest->complete(player)) 99 101 { 100 102 return false;
Note: See TracChangeset
for help on using the changeset viewer.