diff options
author | whitertandrek | 2018-03-14 08:04:57 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2018-04-07 11:33:13 +0200 |
commit | 6e661ab4850e282e135e97831236b1677d16c285 (patch) | |
tree | 342fbf474b6ff30fe479e65836fe4284f35a7005 /engines | |
parent | c77e34b607f43d1c3947bc170f701891c59afe0f (diff) | |
download | scummvm-rg350-6e661ab4850e282e135e97831236b1677d16c285.tar.gz scummvm-rg350-6e661ab4850e282e135e97831236b1677d16c285.tar.bz2 scummvm-rg350-6e661ab4850e282e135e97831236b1677d16c285.zip |
PLUMBERS: Removed unnecessary calls
destructor of Common::File anyway calls close method
Diffstat (limited to 'engines')
-rw-r--r-- | engines/plumbers/plumbers.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
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) { |