diff options
-rw-r--r-- | engines/draci/draci.cpp | 6 | ||||
-rw-r--r-- | engines/draci/sound.cpp | 1 |
2 files changed, 4 insertions, 3 deletions
diff --git a/engines/draci/draci.cpp b/engines/draci/draci.cpp index 25ae48a857..566d3056da 100644 --- a/engines/draci/draci.cpp +++ b/engines/draci/draci.cpp @@ -296,8 +296,10 @@ void DraciEngine::handleEvents() { DraciEngine::~DraciEngine() { // Dispose your resources here - // TODO: Investigate possibility of using sharedPtr or similar - + // If the common library supported STL's scoped_ptr<>, then wrapping + // all the following pointers and many more would be appropriate. So + // far, there is only SharedPtr, which I feel being an overkill for + // easy deallocation. delete _smallFont; delete _bigFont; diff --git a/engines/draci/sound.cpp b/engines/draci/sound.cpp index 76a6bf5d8a..a8b9246b09 100644 --- a/engines/draci/sound.cpp +++ b/engines/draci/sound.cpp @@ -264,7 +264,6 @@ void Sound::stopVoice() { } void Sound::setVolume() { - // TODO: how to retrieve "Mute All" ? if (_mixer->isReady()) { _muteSound = ConfMan.getBool("sfx_mute"); _muteVoice = ConfMan.getBool("speech_mute"); |