- Timestamp:
- Jun 2, 2010, 11:16:20 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation3/src/orxonox/interfaces/Pickupable.cc
r6996 r7094 213 213 Sets the input PickupCarrier as the carrier of the pickup. 214 214 */ 215 inline bool Pickupable::setCarrier(PickupCarrier* carrier )215 inline bool Pickupable::setCarrier(PickupCarrier* carrier, bool tell) 216 216 { 217 217 if(this->carrier_ == carrier) … … 222 222 this->carrier_ = carrier; 223 223 this->changedCarrier(); 224 if(tell && carrier != NULL) 225 this->carrier_->pickups_.insert(this); 224 226 return true; 225 227 }
Note: See TracChangeset
for help on using the changeset viewer.