Changeset 11083 for code/trunk/src/modules/pickup
- Timestamp:
- Jan 21, 2016, 1:59:04 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/modules/pickup/items/ShrinkPickup.cc
r11071 r11083 277 277 { 278 278 Pawn* pawn = this->carrierToPawnHelper(); 279 if(pawn == nullptr) // If the PickupCarrier is no Pawn, then this pickup is useless and therefore is destroyed. 279 if (pawn == nullptr) // If the PickupCarrier is no Pawn, then this pickup is useless and therefore is destroyed. 280 { 280 281 this->Pickupable::destroy(); 282 return; 283 } 281 284 282 285 this->timeRemainig_ -= dt;
Note: See TracChangeset
for help on using the changeset viewer.