- Timestamp:
- Feb 11, 2018, 4:52:54 PM (7 years ago)
- Location:
- code/branches/Presentation_HS17_merge
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/Presentation_HS17_merge
-
code/branches/Presentation_HS17_merge/src/modules/pickup/PickupSpawner.cc
r11707 r11730 158 158 for(Pawn* pawn : ObjectList<Pawn>()) 159 159 { 160 if(!(pawn->doesAcceptPickups())){continue;} // skip those pawns, e.g. AsteroidMinables. 161 160 162 Vector3 distance = pawn->getWorldPosition() - this->getWorldPosition(); 161 163 PickupCarrier* carrier = static_cast<PickupCarrier*>(pawn);
Note: See TracChangeset
for help on using the changeset viewer.