aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe/sound.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/fullpipe/sound.cpp')
-rw-r--r--engines/fullpipe/sound.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/fullpipe/sound.cpp b/engines/fullpipe/sound.cpp
index be539bc10e..1a88e47134 100644
--- a/engines/fullpipe/sound.cpp
+++ b/engines/fullpipe/sound.cpp
@@ -102,14 +102,12 @@ Sound::Sound() {
_soundData = 0;
_objectId = 0;
memset(_directSoundBuffers, 0, sizeof(_directSoundBuffers));
- _description = 0;
_volume = 100;
_handle = new Audio::SoundHandle();
}
Sound::~Sound() {
freeSound();
- free(_description);
delete _handle;
}
@@ -119,7 +117,7 @@ bool Sound::load(MfcArchive &file, NGIArchive *archive) {
MemoryObject::load(file);
_id = file.readUint32LE();
- _description = file.readPascalString();
+ /*_description = */file.readPascalString();
assert(g_fp->_gameProjectVersion >= 6);