Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 11, 2010, 12:30:38 PM (14 years ago)
Author:
dafrick
Message:

Some performance an GUI enhancement.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/releasetodo/src/orxonox/LevelInfo.cc

    r7638 r7639  
    120120        if(!this->validateTag(tag))
    121121        {
    122             COUT(2) << "Bad tag '" << tag << "' in " << this->getXMLFilename() << ". Ignoring..." << std::endl;
     122            COUT(2) << "Bad LevelInfo tag '" << tag << "' in " << this->getXMLFilename() << ". Ignoring..." << std::endl;
    123123            return false;
    124124        }
    125         bool success = this->tags_.insert(std::string(tag)).second;
     125        bool success = this->tags_.insert(*LevelInfoItem::possibleTags_s.find(tag)).second;
    126126        if(update && success)
    127127            this->tagsUpdated();
Note: See TracChangeset for help on using the changeset viewer.