diff options
Diffstat (limited to 'engines/fullpipe')
-rw-r--r-- | engines/fullpipe/sound.cpp | 4 | ||||
-rw-r--r-- | engines/fullpipe/sound.h | 1 |
2 files changed, 1 insertions, 4 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); diff --git a/engines/fullpipe/sound.h b/engines/fullpipe/sound.h index 4066c5e99e..bfc38829d6 100644 --- a/engines/fullpipe/sound.h +++ b/engines/fullpipe/sound.h @@ -31,7 +31,6 @@ namespace Fullpipe { class Sound : public MemoryObject { int _id; - char *_description; int _directSoundBuffer; int _directSoundBuffers[7]; byte *_soundData; |