Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 1, 2008, 11:00:46 AM (16 years ago)
Author:
dafrick
Message:

Ready for merge! (It won't compile after the merge, though ;) )

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/questsystem/src/orxonox/objects/AddQuestHint.cc

    r2076 r2081  
    3131
    3232#include "QuestManager.h"
     33#include "QuestItem.h"
    3334#include "AddQuestHint.h"
    3435
     
    5657        XMLPortParam(AddQuestHint, "hintId", setHintId, getHintId, xmlelement, mode);
    5758       
     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;
    5869    }
    5970
Note: See TracChangeset for help on using the changeset viewer.