diff options
author | D G Turner | 2012-07-07 14:04:11 +0100 |
---|---|---|
committer | D G Turner | 2012-07-07 14:04:11 +0100 |
commit | d7b3ca02fef9ec194dbac1c66ceb2a6e46b2e57d (patch) | |
tree | 1e58eda87994470c547ee98bcd6ec0d31331146a | |
parent | 313502e2eea976899202064353675a61aa8c56a6 (diff) | |
download | scummvm-rg350-d7b3ca02fef9ec194dbac1c66ceb2a6e46b2e57d.tar.gz scummvm-rg350-d7b3ca02fef9ec194dbac1c66ceb2a6e46b2e57d.tar.bz2 scummvm-rg350-d7b3ca02fef9ec194dbac1c66ceb2a6e46b2e57d.zip |
TEENAGENT: Migrate to using ConfMan singleton.
-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 { |