Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 22, 2008, 5:25:01 AM (16 years ago)
Author:
landauf
Message:

added several new classes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/objecthierarchy/src/core/BaseObject.cc

    r1989 r1993  
    3838#include "Level.h"
    3939#include "Template.h"
     40#include "util/String.h"
    4041
    4142namespace orxonox
     
    8788    const std::string& BaseObject::getLevelfile() const
    8889    {
    89         return this->level_->getFile();
     90        if (this->level_)
     91            return this->level_->getFile();
     92        else
     93            return blankString;
    9094    }
    9195
Note: See TracChangeset for help on using the changeset viewer.