- added a NULL check to FMODStreamCapsule destructor, just to be safe.

This commit is contained in:
Christoph Oelckers 2015-04-26 09:58:10 +02:00
parent a23afbd7ce
commit 8e70a9b894

View file

@ -331,7 +331,10 @@ public:
{ {
Stream->release(); Stream->release();
} }
delete Reader; if (Reader != NULL)
{
delete Reader;
}
} }
void SetStream(FMOD::Sound *stream) void SetStream(FMOD::Sound *stream)