Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 10, 2008, 3:36:47 PM (15 years ago)
Author:
dafrick
Message:

Some verry small changes…

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/questsystem3/src/orxonox/objects/quest/QuestListener.cc

    r2353 r2383  
    3737#include "core/CoreIncludes.h"
    3838#include "core/XMLPort.h"
     39#include "util/Exception.h"
    3940
    4041#include "Quest.h"
     
    115116        if(this->quest_ == NULL) //!< If there is no such Quest.
    116117        {
    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..");
    118119            return false;
    119120        }
     
    197198    bool QuestListener::execute()
    198199    {
    199         this->fireEvent(true); //TDO This' right?
     200        this->fireEvent(true);
    200201        return true;
    201202    }
Note: See TracChangeset for help on using the changeset viewer.