- Timestamp:
- Dec 5, 2008, 7:38:53 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/questsystem3/src/orxonox/objects/quest/Quest.cc
r2328 r2346 377 377 QuestListener::advertiseStatusChange(this->listeners_, "fail"); //!< Tells the QuestListeners, that the status has changed to failed. 378 378 this->setStatus(player, questStatus::failed); 379 380 this->getDescription()->sendFailQuestNotification(); 379 381 return true; 380 382 } … … 392 394 QuestListener::advertiseStatusChange(this->listeners_, "complete"); //!< Tells the QuestListeners, that the status has changed to completed. 393 395 this->setStatus(player, questStatus::completed); 396 397 this->getDescription()->sendCompleteQuestNotification(); 394 398 return true; 395 399 } … … 414 418 415 419 this->setStatus(player, questStatus::active); 420 421 this->getDescription()->sendAddQuestNotification(); 416 422 return true; 417 423 }
Note: See TracChangeset
for help on using the changeset viewer.