TOON: Fix sound effect archive destroy

Variable not initialized. Crashed when no sound effects were present in the room
(Bug fixed thanks to Thomas)

svn-id: r54076
This commit is contained in:
Sylvain Dupont 2010-11-04 22:12:16 +00:00
parent 9a704e51c1
commit 1e59b9dd2c

View File

@ -483,6 +483,7 @@ void AudioStreamInstance::setVolume(int32 volume) {
AudioStreamPackage::AudioStreamPackage(ToonEngine *vm) : _vm(vm) {
_indexBuffer = 0;
_file = 0;
}
AudioStreamPackage::~AudioStreamPackage() {