Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10752 in orxonox.OLD for branches/presentation


Ignore:
Timestamp:
Jun 20, 2007, 11:12:11 PM (17 years ago)
Author:
rennerc
Message:

bugs—

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/presentation/src/util/hud.cc

    r10748 r10752  
    6161  this->rightHit = NULL;
    6262  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();
    6573
    6674 
     
    7381Hud::~Hud ()
    7482{
    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;
    8795 
    8896
Note: See TracChangeset for help on using the changeset viewer.