From 6e661ab4850e282e135e97831236b1677d16c285 Mon Sep 17 00:00:00 2001 From: whitertandrek Date: Wed, 14 Mar 2018 08:04:57 +0200 Subject: PLUMBERS: Removed unnecessary calls destructor of Common::File anyway calls close method --- engines/plumbers/plumbers.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'engines/plumbers') diff --git a/engines/plumbers/plumbers.cpp b/engines/plumbers/plumbers.cpp index d71b7ec113..3821170651 100644 --- a/engines/plumbers/plumbers.cpp +++ b/engines/plumbers/plumbers.cpp @@ -186,7 +186,6 @@ void PlumbersGame::loadImage(const Common::String &dirname, const Common::String _image = new Image::BitmapDecoder(); _image->loadStream(file); - file.close(); } void PlumbersGame::drawScreen() { @@ -360,7 +359,6 @@ void PlumbersGame::readTables(const Common::String &fileName) { file.read(buf, kMaxName); _bitmaps[i]._filename = Common::String(buf); } - file.close(); } int PlumbersGame::getSceneNumb(int sNo) { -- cgit v1.2.3