Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 11021 for code/trunk/src


Ignore:
Timestamp:
Jan 2, 2016, 9:24:40 PM (8 years ago)
Author:
landauf
Message:

merged branch soundEffects back to trunk. for some reason it was never merged, even though its content is almost completely present in trunk (only the destruction of portalSound_ was missing)

Location:
code/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/trunk

  • code/trunk/src/modules/portals/PortalEndPoint.cc

    r11020 r11021  
    7070    PortalEndPoint::~PortalEndPoint()
    7171    {
    72         if(this->isInitialized() && this->trigger_ != NULL)
    73             this->trigger_->destroy();
     72        if (this->isInitialized()) {
     73            if (this->trigger_ != NULL)
     74                this->trigger_->destroy();
     75
     76            if (this->portalSound_ != NULL)
     77                this->portalSound_->destroy();
     78        }
    7479    }
    7580
Note: See TracChangeset for help on using the changeset viewer.