Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 18, 2012, 9:54:49 PM (12 years ago)
Author:
landauf
Message:

simplified code a little by using MultiType instead of explicit conversion

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation2012merge/src/modules/pickup/items/MetaPickup.cc

    r9279 r9305  
    9090    void MetaPickup::initializeIdentifier(void)
    9191    {
    92         std::string val = this->getMetaType();
    93         std::string type = "metaType";
    94         this->pickupIdentifier_->addParameter(type, val);
     92        this->pickupIdentifier_->addParameter("metaType", this->getMetaType());
    9593    }
    9694
Note: See TracChangeset for help on using the changeset viewer.