aboutsummaryrefslogtreecommitdiff
path: root/engines/sword2/sword2.cpp
diff options
context:
space:
mode:
authorMax Horn2006-11-12 03:26:44 +0000
committerMax Horn2006-11-12 03:26:44 +0000
commit8d37c135c07223772b2e4395b2655cbee239ddf0 (patch)
treed7c4c54610aeb28e07e1958b1efb56cf781aba05 /engines/sword2/sword2.cpp
parent1f26cb89652a5804ccace15587426ca2b9e1387d (diff)
downloadscummvm-rg350-8d37c135c07223772b2e4395b2655cbee239ddf0.tar.gz
scummvm-rg350-8d37c135c07223772b2e4395b2655cbee239ddf0.tar.bz2
scummvm-rg350-8d37c135c07223772b2e4395b2655cbee239ddf0.zip
Since we now generate warnings/messages for engine instantiation failures in a central place, get rid of such messages printed by engines
svn-id: r24686
Diffstat (limited to 'engines/sword2/sword2.cpp')
-rw-r--r--engines/sword2/sword2.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/engines/sword2/sword2.cpp b/engines/sword2/sword2.cpp
index 082d2e6aea..778dfb1ab5 100644
--- a/engines/sword2/sword2.cpp
+++ b/engines/sword2/sword2.cpp
@@ -113,7 +113,6 @@ PluginError Engine_SWORD2_create(OSystem *syst, Engine **engine) {
FSList fslist;
FilesystemNode dir(ConfMan.get("path"));
if (!dir.listDir(fslist, FilesystemNode::kListFilesOnly)) {
- warning("Sword2Engine: invalid game path '%s'", dir.path().c_str());
return kInvalidPathError;
}
@@ -128,7 +127,6 @@ PluginError Engine_SWORD2_create(OSystem *syst, Engine **engine) {
}
}
- warning("Sword2Engine: Unable to locate game data at path '%s'", dir.path().c_str());
return kNoGameDataFoundError;
}