aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorrichiesams2013-07-24 11:34:52 -0500
committerrichiesams2013-08-04 13:32:35 -0500
commitde2e7fd144622436429da2af79e155724af49d46 (patch)
treef37953aee3b54a182d89f85fc6314fdd7e59bf2d /engines
parented4490730902780923bf1e91ed3617d56efb7c24 (diff)
downloadscummvm-rg350-de2e7fd144622436429da2af79e155724af49d46.tar.gz
scummvm-rg350-de2e7fd144622436429da2af79e155724af49d46.tar.bz2
scummvm-rg350-de2e7fd144622436429da2af79e155724af49d46.zip
ZVISION: Convert error() to warning()
I did not realize the intended behavior of error() is to close the application
Diffstat (limited to 'engines')
-rw-r--r--engines/zvision/render_manager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/zvision/render_manager.cpp b/engines/zvision/render_manager.cpp
index 8c3d37a160..b2c9e29b94 100644
--- a/engines/zvision/render_manager.cpp
+++ b/engines/zvision/render_manager.cpp
@@ -64,7 +64,7 @@ void RenderManager::renderImageToScreen(const Common::String &fileName, uint32 x
Common::File file;
if (!file.open(fileName)) {
- error("Could not open file %s", fileName.c_str());
+ warning("Could not open file %s", fileName.c_str());
return;
}
@@ -94,7 +94,7 @@ void RenderManager::renderImageToScreen(const Common::String &fileName, uint32 x
// Decode
Graphics::TGADecoder tga;
if (!tga.loadStream(file))
- error("Error while reading TGA image");
+ warning("Error while reading TGA image");
file.close();
const Graphics::Surface *tgaSurface = tga.getSurface();