From 4ec10ffec786be030a358e1b5499a6b856092e81 Mon Sep 17 00:00:00 2001 From: Jaromir Wysoglad Date: Tue, 23 Jul 2019 16:40:08 +0200 Subject: TTS: Remove "static" from initTextToSpeech() --- engines/engine.cpp | 2 +- gui/gui-manager.h | 2 +- 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; -- cgit v1.2.3