Changeset 6492 for code/branches/pickup3/src/modules/pickup
- Timestamp:
- Mar 8, 2010, 12:49:25 PM (15 years ago)
- File:
-
- 1 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();
Note: See TracChangeset
for help on using the changeset viewer.