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/DronePickup.cc

    r9279 r9305  
    8585    void DronePickup::initializeIdentifier(void)
    8686    {
    87         std::string val = this->getDroneTemplate();
    88         std::string type = "droneTemplate";
    89         this->pickupIdentifier_->addParameter(type, val);
     87        this->pickupIdentifier_->addParameter("droneTemplate", this->getDroneTemplate());
    9088    }
    9189
Note: See TracChangeset for help on using the changeset viewer.