WAGE: Correct Engine For DebugMan API Changes.

Signed-off-by: Eugene Sandulenko <sev@scummvm.org>
This commit is contained in:
D G Turner 2011-05-30 04:25:59 +01:00 committed by Eugene Sandulenko
parent 2442f12bb4
commit 5926af06f1

View File

@ -51,6 +51,7 @@
#include "common/scummsys.h"
#include "common/config-manager.h"
#include "common/debug-channels.h"
#include "common/EventRecorder.h"
#include "common/file.h"
#include "common/fs.h"
@ -73,8 +74,7 @@ WageEngine::~WageEngine() {
// Dispose your resources here
debug("WageEngine::~WageEngine()");
// Remove all of our debug levels here
Common::clearAllDebugChannels();
DebugMan.clearAllDebugChannels();
delete _rnd;
}