[Scummvm-cvs-logs] SF.net SVN: scummvm:[54076] scummvm/trunk/engines/toon/audio.cpp

sylvaintv at users.sourceforge.net sylvaintv at users.sourceforge.net
Thu Nov 4 23:12:17 CET 2010


Revision: 54076
          http://scummvm.svn.sourceforge.net/scummvm/?rev=54076&view=rev
Author:   sylvaintv
Date:     2010-11-04 22:12:16 +0000 (Thu, 04 Nov 2010)

Log Message:
-----------
TOON: Fix sound effect archive destroy 

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

Modified Paths:
--------------
    scummvm/trunk/engines/toon/audio.cpp

Modified: scummvm/trunk/engines/toon/audio.cpp
===================================================================
--- scummvm/trunk/engines/toon/audio.cpp	2010-11-04 22:06:22 UTC (rev 54075)
+++ scummvm/trunk/engines/toon/audio.cpp	2010-11-04 22:12:16 UTC (rev 54076)
@@ -483,6 +483,7 @@
 
 AudioStreamPackage::AudioStreamPackage(ToonEngine *vm) : _vm(vm) {
 	_indexBuffer = 0;
+	_file = 0;
 }
 
 AudioStreamPackage::~AudioStreamPackage() {


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list