aboutsummaryrefslogtreecommitdiff
path: root/base/options.cpp
diff options
context:
space:
mode:
authorMax Horn2006-05-05 00:26:03 +0000
committerMax Horn2006-05-05 00:26:03 +0000
commitdad44b45d31319625cf1f0bf884c856bee4205d5 (patch)
tree2463bf3cfc4281762d0f711469667ec68350333d /base/options.cpp
parentb56139b3aac0c4b630742f2d3266e6fac4b6301e (diff)
downloadscummvm-rg350-dad44b45d31319625cf1f0bf884c856bee4205d5.tar.gz
scummvm-rg350-dad44b45d31319625cf1f0bf884c856bee4205d5.tar.bz2
scummvm-rg350-dad44b45d31319625cf1f0bf884c856bee4205d5.zip
Removed Base::setTarget, and some minor cleanup & tweaks
svn-id: r22356
Diffstat (limited to 'base/options.cpp')
-rw-r--r--base/options.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/options.cpp b/base/options.cpp
index ce6a3e3510..e01621af0a 100644
--- a/base/options.cpp
+++ b/base/options.cpp
@@ -665,7 +665,7 @@ bool processSettings(Common::String &command, Common::StringMap &settings) {
// whether there is a gameid matching that name.
if (!command.empty()) {
if (ConfMan.hasGameDomain(command) || Base::findGame(command).gameid.size() > 0) {
- Base::setTarget(command);
+ ConfMan.setActiveDomain(command);
} else {
usage("Unrecognized game target '%s'", command.c_str());
}