aboutsummaryrefslogtreecommitdiff
path: root/engines/xeen/xeen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/xeen/xeen.cpp')
-rw-r--r--engines/xeen/xeen.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/xeen/xeen.cpp b/engines/xeen/xeen.cpp
index cf60aa4555..f1330f5b0e 100644
--- a/engines/xeen/xeen.cpp
+++ b/engines/xeen/xeen.cpp
@@ -37,12 +37,14 @@ XeenEngine::XeenEngine(OSystem *syst, const XeenGameDescription *gameDesc)
_debugger = nullptr;
_events = nullptr;
_screen = nullptr;
+ _sound = nullptr;
}
XeenEngine::~XeenEngine() {
delete _debugger;
delete _events;
delete _screen;
+ delete _sound;
}
void XeenEngine::initialize() {
@@ -56,6 +58,7 @@ void XeenEngine::initialize() {
_debugger = new Debugger(this);
_events = new EventsManager(this);
_screen = new Screen(this);
+ _sound = new SoundManager(this);
Resources::init(this);
// Set graphics mode