Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 26, 2009, 2:06:00 AM (15 years ago)
Author:
landauf
Message:

fixed a bug in Level

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core5/src/orxonox/Level.cc

    r5738 r5792  
    5353        this->registerVariables();
    5454        this->xmlfilename_ = this->getFilename();
     55        this->xmlfile_ = 0;
     56        this->ambientsound_ = 0;
    5557    }
    5658
     
    6567                Loader::unload(this->xmlfile_);
    6668
    67             if(this->ambientsound_ != NULL)
     69            if (this->ambientsound_ != NULL)
    6870                delete this->ambientsound_;
    6971        }
Note: See TracChangeset for help on using the changeset viewer.