Fix a crash on exit. The SGEnviro destructor was attempting to delete an

object that had already been deleted by the sound manager.  Since SGEnviro
doesn't own this object, I removed the delete from it's destructor.
This commit is contained in:
Curtis L. Olson 2011-05-03 13:24:57 -05:00
parent 1b8216e911
commit 2e05043f43

View File

@ -187,7 +187,7 @@ SGEnviro::SGEnviro() :
} }
SGEnviro::~SGEnviro(void) { SGEnviro::~SGEnviro(void) {
if (sampleGroup) delete sampleGroup; // if (sampleGroup) delete sampleGroup;
// OSGFIXME // OSGFIXME
return; return;