diff options
author | Jaromir Wysoglad | 2019-07-23 16:40:08 +0200 |
---|---|---|
committer | Filippos Karapetis | 2019-09-01 22:47:55 +0300 |
commit | 4ec10ffec786be030a358e1b5499a6b856092e81 (patch) | |
tree | cb5d347998aaaf547ba16a7ed57d947571bca4ff | |
parent | 2ecbf9ac181e21ddbb70e080d97bdda567fe2d19 (diff) | |
download | scummvm-rg350-4ec10ffec786be030a358e1b5499a6b856092e81.tar.gz scummvm-rg350-4ec10ffec786be030a358e1b5499a6b856092e81.tar.bz2 scummvm-rg350-4ec10ffec786be030a358e1b5499a6b856092e81.zip |
TTS: Remove "static" from initTextToSpeech()
-rw-r--r-- | engines/engine.cpp | 2 | ||||
-rw-r--r-- | 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; |