- Timestamp:
- Nov 1, 2008, 11:00:46 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/questsystem/src/orxonox/objects/AddQuestHint.cc
r2076 r2081 31 31 32 32 #include "QuestManager.h" 33 #include "QuestItem.h" 33 34 #include "AddQuestHint.h" 34 35 … … 56 57 XMLPortParam(AddQuestHint, "hintId", setHintId, getHintId, xmlelement, mode); 57 58 59 } 60 61 inline void AddQuestHint::setHintId(const std::string & id) 62 { 63 if(!QuestItem::isId(id)) 64 { 65 COUT(2) << "Invalid id. QuestItem id {" << id << "} could not be set." << std::endl; 66 return; 67 } 68 this->hintId_ = id; 58 69 } 59 70
Note: See TracChangeset
for help on using the changeset viewer.