Changeset 10752 in orxonox.OLD for branches/presentation
- Timestamp:
- Jun 20, 2007, 11:12:11 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/presentation/src/util/hud.cc
r10748 r10752 61 61 this->rightHit = NULL; 62 62 this->ifinit = true; 63 64 this->init(); 63 64 this->barSocket = NULL; 65 this->_radar = NULL; 66 this->inputLine = NULL; 67 this->notifier = NULL; 68 this->topRect = NULL; 69 this->bottomRect = NULL; 70 this->middleRect = NULL; 71 72 this->init(); 65 73 66 74 … … 73 81 Hud::~Hud () 74 82 { 75 delete this->inputLine;76 delete this->notifier;77 //delete this->leftHit;78 //delete this->rightHit;79 80 delete this->_radar;81 delete this->barSocket;82 delete this->rightRect;83 delete this->leftRect;84 delete this->topRect;85 delete this->bottomRect;86 delete this->middleRect;83 if (this->inputLine) delete this->inputLine; 84 if (this->notifier) delete this->notifier; 85 if (this->leftHit) delete this->leftHit; 86 if (this->rightHit) delete this->rightHit; 87 88 if (this->_radar) delete this->_radar; 89 if (this->barSocket) delete this->barSocket; 90 if (this->rightRect) delete this->rightRect; 91 if (this->leftRect) delete this->leftRect; 92 if (this->topRect) delete this->topRect; 93 if (this->bottomRect) delete this->bottomRect; 94 if (this->middleRect) delete this->middleRect; 87 95 88 96
Note: See TracChangeset
for help on using the changeset viewer.