Fixed crashing with wave file patches, a regression from commit #49391

svn-id: r49411
This commit is contained in:
Filippos Karapetis 2010-06-03 20:42:06 +00:00
parent 26860b8e51
commit 7f0b0a83ed

View File

@ -168,6 +168,7 @@ void ResourceManager::readWaveAudioPatches() {
int number = atoi(name.c_str());
ResourceSource *psrcPatch = new ResourceSource;
psrcPatch->source_type = kSourceWave;
psrcPatch->resourceFile = 0;
psrcPatch->location_name = name;
psrcPatch->volume_number = 0;
psrcPatch->audioCompressionType = 0;