- Timestamp:
- Dec 2, 2015, 11:22:03 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v2/src/modules/objects/SpaceBoundaries.cc
r10821 r10916 59 59 this->pawnsIn_.clear(); 60 60 61 for( auto & elem: this->billboards_)61 for(BillboardAdministration& billboard : this->billboards_) 62 62 { 63 if( elem.billy != nullptr)64 { 65 delete elem.billy;63 if( billboard.billy != nullptr) 64 { 65 delete billboard.billy; 66 66 } 67 67 } … … 138 138 void SpaceBoundaries::removeAllBillboards() 139 139 { 140 for( auto & elem: this->billboards_)141 { 142 elem.usedYet = false;143 elem.billy->setVisible(false);140 for(BillboardAdministration& billboard : this->billboards_) 141 { 142 billboard.usedYet = false; 143 billboard.billy->setVisible(false); 144 144 } 145 145 } … … 208 208 float distance; 209 209 bool humanItem; 210 for(auto currentPawn : pawnsIn_) 211 { 212 210 for(Pawn* currentPawn : pawnsIn_) 211 { 213 212 if( currentPawn && currentPawn->getNode() ) 214 213 {
Note: See TracChangeset
for help on using the changeset viewer.