Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 28, 2008, 9:26:23 PM (16 years ago)
Author:
landauf
Message:

a small change to test something

Location:
code/branches/objecthierarchy/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/objecthierarchy/src/network/Synchronisable.cc

    r2031 r2032  
    329329    synchronisableHeader *syncHeader = (synchronisableHeader *)mem;
    330330    assert(syncHeader->objectID==this->objectID);
    331     assert(syncHeader->creatorID==this->creatorID);
     331//    assert(syncHeader->creatorID==this->creatorID);
    332332    if(syncHeader->dataAvailable==false){
    333333      mem+=syncHeader->size;
  • code/branches/objecthierarchy/src/orxonox/objects/infos/Level.cc

    r2031 r2032  
    5252
    5353        this->registerVariables();
    54         this->xmlfilename_ = this->getFilename().substr(Settings::getDataPath().length());
     54        this->xmlfilename_ = this->getFilename();
     55
     56        if (this->xmlfilename_.length() >= Settings::getDataPath().length())
     57            this->xmlfilename_ = this->xmlfilename_.substr(Settings::getDataPath().length());
    5558
    5659        COUT(0) << "created Level" << std::endl;
Note: See TracChangeset for help on using the changeset viewer.