- Timestamp:
- Oct 23, 2017, 4:41:56 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/HUD_HS16/src/modules/overlays/hud/HUDPickupSystem.cc
r11351 r11510 56 56 HUDPickupSystem::~HUDPickupSystem() 57 57 { 58 if (this->isInitialized())58 /*if (this->isInitialized()) 59 59 { 60 60 this->picks.clear(); 61 } 61 }*/ 62 62 } 63 63 … … 107 107 { 108 108 assert(pickup); 109 orxout()<< "removePickup called with " << pickup << endl; 109 110 HUDPickupItem* item = this->picks.find(pickup)->second; 110 orxout( internal_info, context::pickups) << "removePickup: pickup= " << pickup << " item= " << item << endl;111 assert(item);111 orxout() << "removePickup: pickup= " << pickup << " item= " << item << endl; 112 //assert(item); 112 113 item->hideMe(pickup, repaint); 113 assert(overlayElement_); 114 assert(this->background_); 115 this->picks.erase(pickup); 114 orxout() << "i am hidden now" << endl; 115 //assert(overlayElement_); 116 //assert(this->background_); 117 //this->picks.erase(pickup); 118 orxout()<< "end removePickup method" << endl; 116 119 } 117 120
Note: See TracChangeset
for help on using the changeset viewer.