Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 9, 2008, 11:05:18 PM (16 years ago)
Author:
landauf
Message:

started another attempt to fix the occasionally focus-cycling crash

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/hud/HUD.cc

    r1575 r1580  
    247247            if ((*it)->getObject() == object)
    248248            {
    249                 if (this->nav_)
    250                   if (this->nav_->getFocus() == (*it))
    251                     this->nav_->releaseFocus();
     249                if (this->nav_ && this->nav_->getFocus() == (*it))
     250                    this->nav_->releaseFocus();
    252251
    253252                delete (*it);
Note: See TracChangeset for help on using the changeset viewer.