aboutsummaryrefslogtreecommitdiff
path: root/engines/hugo/hugo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/hugo/hugo.cpp')
-rw-r--r--engines/hugo/hugo.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/hugo/hugo.cpp b/engines/hugo/hugo.cpp
index c7bc3fe313..6166bdced1 100644
--- a/engines/hugo/hugo.cpp
+++ b/engines/hugo/hugo.cpp
@@ -159,6 +159,8 @@ HugoEngine::~HugoEngine() {
_screen->freeFonts();
+ delete _topMenu;
+
delete _object;
delete _sound;
delete _route;
@@ -196,6 +198,8 @@ Common::Error HugoEngine::run() {
_route = new Route(this);
_sound = new SoundHandler(this);
+ _topMenu = new TopMenu(this);
+
switch (_gameVariant) {
case 0: // H1 Win
_file = new FileManager_v1w(this);