aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sci/engine/game.cpp')
-rw-r--r--engines/sci/engine/game.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/sci/engine/game.cpp b/engines/sci/engine/game.cpp
index b209dfc608..db2d776fbf 100644
--- a/engines/sci/engine/game.cpp
+++ b/engines/sci/engine/game.cpp
@@ -35,6 +35,7 @@
#include "sci/engine/kernel_types.h"
#include "sci/engine/message.h"
#include "sci/graphics/gui.h"
+#include "sci/graphics/menu.h"
#include "sci/sound/music.h"
namespace Sci {
@@ -270,8 +271,8 @@ int game_init(EngineState *s) {
}
// Initialize menu TODO: Actually this should be another init()
- if (s->_gui)
- s->_gui->menuReset();
+ if (s->_gfxMenu)
+ s->_gfxMenu->reset();
s->successor = NULL; // No successor