diff options
-rw-r--r-- | engines/teenagent/scene.cpp | 2 | ||||
-rw-r--r-- | engines/teenagent/teenagent.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/teenagent/scene.cpp b/engines/teenagent/scene.cpp index c5943d4dbc..a1f6485a1d 100644 --- a/engines/teenagent/scene.cpp +++ b/engines/teenagent/scene.cpp @@ -1219,7 +1219,7 @@ uint Scene::messageDuration(const Common::String &str) { //total delay = total message length * delay / 8 + 60. uint total_width = str.size(); - int speed = Common::ConfigManager::instance().getInt("talkspeed"); + int speed = ConfMan.getInt("talkspeed"); if (speed < 0) speed = 60; uint delay_delta = 1 + (255 - speed) * 99 / 255; diff --git a/engines/teenagent/teenagent.cpp b/engines/teenagent/teenagent.cpp index 3ac830061a..0b2c44ec85 100644 --- a/engines/teenagent/teenagent.cpp +++ b/engines/teenagent/teenagent.cpp @@ -535,7 +535,7 @@ Common::Error TeenAgentEngine::run() { setMusic(1); music->start(); - int load_slot = Common::ConfigManager::instance().getInt("save_slot"); + int load_slot = ConfMan.getInt("save_slot"); if (load_slot >= 0) { loadGameState(load_slot); } else { |