aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/mads.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/mads/mads.cpp')
-rw-r--r--engines/mads/mads.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/mads/mads.cpp b/engines/mads/mads.cpp
index 3a121d082b..db73ec7d23 100644
--- a/engines/mads/mads.cpp
+++ b/engines/mads/mads.cpp
@@ -43,6 +43,7 @@ MADSEngine::MADSEngine(OSystem *syst, const MADSGameDescription *gameDesc) :
_textWindowStill = false;
_debugger = nullptr;
+ _dialogs = nullptr;
_events = nullptr;
_font = nullptr;
_game = nullptr;
@@ -55,6 +56,7 @@ MADSEngine::MADSEngine(OSystem *syst, const MADSGameDescription *gameDesc) :
MADSEngine::~MADSEngine() {
delete _debugger;
+ delete _dialogs;
delete _events;
delete _font;
delete _game;
@@ -77,6 +79,7 @@ void MADSEngine::initialise() {
ResourcesManager::init(this);
_debugger = new Debugger(this);
+ _dialogs = Dialogs::init(this);
_events = new EventsManager(this);
_palette = new Palette(this);
_font = new Font(this);