Changeset 5818 for code/branches/core5/src/modules
- Timestamp:
- Sep 27, 2009, 10:26:49 PM (16 years ago)
- Location:
- code/branches/core5/src/modules
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core5/src/modules/gamestates/GSLevel.cc
r5816 r5818 196 196 if (this->scope_GSLevel_) 197 197 { 198 InputManager::getInstance().destroyState("guiKeysOnly");199 InputManager::getInstance().destroyState("guiMouseOnly");200 198 delete this->scope_GSLevel_; 201 199 this->scope_GSLevel_ = NULL; … … 208 206 guiKeysOnlyInputState_->setHandler(0); 209 207 InputManager::getInstance().destroyState("game"); 208 InputManager::getInstance().destroyState("guiKeysOnly"); 209 InputManager::getInstance().destroyState("guiMouseOnly"); 210 210 if (this->keyBinder_) 211 211 { -
code/branches/core5/src/modules/overlays/stats/Scoreboard.cc
r5738 r5818 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/branches/core5/src/modules/overlays/stats/Scoreboard.h
r5738 r5818 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.