Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 15, 2009, 1:44:25 PM (16 years ago)
Author:
rgrieder
Message:

Merged revisions 6054, 6056 and 6057 to particles2 branch.

Location:
code/branches/particles2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/particles2

  • code/branches/particles2/src/modules/overlays/hud/HUDHealthBar.cc

    r5929 r6067  
    4848        this->textoverlay_ = new OverlayText(this);
    4949
    50         assert(this->textoverlay_);
     50        assert(this->textoverlay_.get());
    5151
    5252        this->textoverlay_->setCaption("");
     
    5656    {
    5757        if (this->isInitialized())
     58        {
    5859            this->textoverlay_->destroy();
     60            this->textoverlay_ = 0;
     61        }
    5962    }
    6063
     
    106109        SUPER(HUDHealthBar, changedOverlayGroup);
    107110
    108         this->getOverlayGroup()->addElement(this->textoverlay_);
     111        this->getOverlayGroup()->addElement(this->textoverlay_.get());
    109112    }
    110113
Note: See TracChangeset for help on using the changeset viewer.