Changeset 6478 for code/branches/pickup3/src/orxonox/interfaces
- Timestamp:
- Mar 7, 2010, 10:55:23 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/pickup3/src/orxonox/interfaces/Pickupable.cc
r6477 r6478 48 48 Pickupable::Pickupable() 49 49 { 50 RegisterRootObject(Pickupable);51 52 50 this->used_ = false; 53 51 this->pickedUp_ = false; 52 53 RegisterRootObject(Pickupable); 54 54 55 this->carrier_ = NULL; 55 56 … … 66 67 this->setUsed(false); 67 68 68 if(this->isPickedUp() )69 if(this->isPickedUp() && this->getCarrier() != NULL) 69 70 { 70 71 this->getCarrier()->drop(this, false);
Note: See TracChangeset
for help on using the changeset viewer.