- Timestamp:
- Mar 8, 2010, 12:49:25 PM (15 years ago)
- Location:
- code/branches/pickup3/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/pickup3/src/modules/pickup/PickupSpawner.cc
r6486 r6492 293 293 Pickupable* pickup = this->getPickup(); 294 294 295 if(target != NULL ||pickup != NULL)296 { 297 if( carrier->pickup(pickup))295 if(target != NULL && pickup != NULL) 296 { 297 if(target->pickup(pickup)) 298 298 { 299 299 this->decrementSpawnsRemaining(); -
code/branches/pickup3/src/orxonox/interfaces/Pickupable.cc
r6490 r6492 196 196 197 197 this->setCarrier(NULL); 198 //TODO: possible problem. 198 199 if(!created) 199 200 this->destroy();
Note: See TracChangeset
for help on using the changeset viewer.