Changeset 5800 for code/branches/core5/src/modules/questsystem
- Timestamp:
- Sep 26, 2009, 10:21:26 PM (16 years ago)
- Location:
- code/branches/core5/src/modules/questsystem
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core5/src/modules/questsystem/QuestGUI.cc
r5748 r5800 79 79 80 80 if(this->root_ != NULL) 81 delete this->root_;81 this->root_->destroy(); 82 82 } 83 83 … … 146 146 COUT(3) << "Clearing Node '" << *str << "' ..." << std::endl; 147 147 delete str; 148 delete node;148 node->destroy(); 149 149 } 150 150 this->nodes_.clear(); -
code/branches/core5/src/modules/questsystem/QuestManager.cc
r5755 r5800 76 76 for(std::map<PlayerInfo*, QuestGUI*>::iterator it = this->questGUIs_.begin(); it != this->questGUIs_.end(); it++) 77 77 { 78 delete (*it).second;78 (*it).second->destroy(); 79 79 } 80 80 this->questGUIs_.clear(); -
code/branches/core5/src/modules/questsystem/notifications/NotificationQueue.cc
r5748 r5800 426 426 this->containers_.erase(container); 427 427 this->overlays_.erase(container->notification); 428 delete container->overlay;428 container->overlay->destroy(); 429 429 delete container; 430 430 this->size_= this->size_-1;
Note: See TracChangeset
for help on using the changeset viewer.