Changeset 7150 for code/branches/presentation3/src/modules/pickup
- Timestamp:
- Jun 18, 2010, 8:54:01 PM (14 years ago)
- Location:
- code/branches/presentation3/src/modules/pickup
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation3/src/modules/pickup/PickupManager.cc
r7129 r7150 212 212 if(pickup != NULL && carrier != NULL) 213 213 { 214 carrier->drop(pickup);214 pickup->drop(carrier); 215 215 } 216 216 } -
code/branches/presentation3/src/modules/pickup/PickupSpawner.cc
r7127 r7150 304 304 if(target != NULL && pickup != NULL) 305 305 { 306 if( target->pickup(pickup))306 if(pickup->pickup(target)) 307 307 { 308 308 this->decrementSpawnsRemaining(); -
code/branches/presentation3/src/modules/pickup/items/MetaPickup.cc
r7127 r7150 136 136 if(pickup != NULL && pickup != this) 137 137 { 138 carrier->drop(pickup);138 pickup->drop(carrier); 139 139 } 140 140 }
Note: See TracChangeset
for help on using the changeset viewer.