diff options
author | Eugene Sandulenko | 2016-02-14 14:34:47 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2016-02-14 17:13:24 +0100 |
commit | 33b8a265c556d75d01a9ca24233ca250526270e4 (patch) | |
tree | 35de0a2ee8f6b69a1ed280f46fbe6187547641cc /engines | |
parent | 8e8145ef25243d271e4fef6668dc4cff8386ae23 (diff) | |
download | scummvm-rg350-33b8a265c556d75d01a9ca24233ca250526270e4.tar.gz scummvm-rg350-33b8a265c556d75d01a9ca24233ca250526270e4.tar.bz2 scummvm-rg350-33b8a265c556d75d01a9ca24233ca250526270e4.zip |
WAGE: Remove redundant check
Diffstat (limited to 'engines')
-rw-r--r-- | engines/wage/design.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/wage/design.cpp b/engines/wage/design.cpp index 86418bc71d..e3cae0f633 100644 --- a/engines/wage/design.cpp +++ b/engines/wage/design.cpp @@ -74,7 +74,7 @@ Design::Design(Common::SeekableReadStream *data) { Design::~Design() { free(_data); - if (_surface && _surface->getPixels()) + if (_surface) _surface->free(); delete _surface; } |