aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/engine.cpp2
-rw-r--r--gui/gui-manager.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/engine.cpp b/engines/engine.cpp
index d34f1a6510..8469c72c4d 100644
--- a/engines/engine.cpp
+++ b/engines/engine.cpp
@@ -522,7 +522,7 @@ void Engine::openMainMenuDialog() {
#ifdef USE_TTS
Common::TextToSpeechManager *ttsMan = g_system->getTextToSpeechManager();
ttsMan->pushState();
- GUI::GuiManager::initTextToSpeech();
+ g_gui.initTextToSpeech();
#endif
setGameToLoadSlot(-1);
diff --git a/gui/gui-manager.h b/gui/gui-manager.h
index 866bc42e04..880c94d436 100644
--- a/gui/gui-manager.h
+++ b/gui/gui-manager.h
@@ -107,7 +107,7 @@ public:
* only be deleted when that dialog is the top level dialog.
*/
void addToTrash(GuiObject*, Dialog* parent = 0);
- static void initTextToSpeech();
+ void initTextToSpeech();
bool _launched;