- Timestamp:
- Dec 10, 2008, 3:36:47 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/questsystem3/src/orxonox/objects/quest/QuestListener.cc
r2353 r2383 37 37 #include "core/CoreIncludes.h" 38 38 #include "core/XMLPort.h" 39 #include "util/Exception.h" 39 40 40 41 #include "Quest.h" … … 115 116 if(this->quest_ == NULL) //!< If there is no such Quest. 116 117 { 117 COUT(1) << "This is bad! The QuestListener has not found a Quest qith a corresponding id." << std::endl; //TDO Throw a damn Exception!118 ThrowException(Argument, "This is bad! The QuestListener has not found a Quest with a corresponding id.."); 118 119 return false; 119 120 } … … 197 198 bool QuestListener::execute() 198 199 { 199 this->fireEvent(true); //TDO This' right?200 this->fireEvent(true); 200 201 return true; 201 202 }
Note: See TracChangeset
for help on using the changeset viewer.