Changeset 5929 for code/trunk/src/modules/overlays/stats
- Timestamp:
- Oct 12, 2009, 8:20:07 PM (15 years ago)
- Location:
- code/trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
/code/branches/core5 (added) merged: 5768-5769,5772,5775-5780,5783-5785,5791-5792,5795-5807,5809-5814,5816-5832,5836-5839,5842-5853,5855-5899,5904-5922,5924-5928
- Property svn:mergeinfo changed
-
code/trunk/src/modules/overlays/stats/CreateLines.cc
r5781 r5929 59 59 CreateLines::~CreateLines() 60 60 { 61 delete this->playerNameText_;62 delete this->scoreText_;63 delete this->deathsText_;64 delete this->background_;61 this->playerNameText_->destroy(); 62 this->scoreText_->destroy(); 63 this->deathsText_->destroy(); 64 this->background_->destroy(); 65 65 } 66 66 -
code/trunk/src/modules/overlays/stats/Scoreboard.cc
r5781 r5929 44 44 { 45 45 RegisterObject(Scoreboard); 46 } 47 48 Scoreboard::~Scoreboard() 49 { 50 while (this->lines_.size() > 0) 51 { 52 // destroy lines 53 delete this->lines_.back(); 54 this->lines_.pop_back(); 55 } 46 56 } 47 57 -
code/trunk/src/modules/overlays/stats/Scoreboard.h
r5781 r5929 42 42 public: // functions 43 43 Scoreboard(BaseObject* creator); 44 virtual ~Scoreboard() {}44 virtual ~Scoreboard(); 45 45 46 46 virtual void XMLPort(Element& xmlElement, XMLPort::Mode mode);
Note: See TracChangeset
for help on using the changeset viewer.