From 8d37c135c07223772b2e4395b2655cbee239ddf0 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sun, 12 Nov 2006 03:26:44 +0000 Subject: 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 --- engines/sword2/sword2.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'engines/sword2/sword2.cpp') 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; } -- cgit v1.2.3