TEENAGENT: Migrate to using ConfMan singleton.

This commit is contained in:
D G Turner 2012-07-07 14:04:11 +01:00
parent 313502e2ee
commit d7b3ca02fe
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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 {