diff options
-rw-r--r-- | engines/zvision/render_manager.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/engines/zvision/render_manager.cpp b/engines/zvision/render_manager.cpp index 463faefdeb..837e3880c7 100644 --- a/engines/zvision/render_manager.cpp +++ b/engines/zvision/render_manager.cpp @@ -282,13 +282,6 @@ RenderTable *RenderManager::getRenderTable() { } void RenderManager::setBackgroundImage(const Common::String &fileName) { - Common::File *file = new Common::File; - - if (!file->open(fileName)) { - warning("Could not open file %s", fileName.c_str()); - return; - } - readImageToSurface(fileName, _currentBackground); moveBackground(0); |