diff options
author | lukaslw | 2014-07-24 18:59:26 +0200 |
---|---|---|
committer | lukaslw | 2014-07-24 18:59:26 +0200 |
commit | 1f88852de548a02e42c9fc8a546fc377117f87ae (patch) | |
tree | 45ae533b80c3d5f0be91421484c0341be198025f /engines/prince/object.cpp | |
parent | 9c9da0d65a413ad1992bf066b9df922d4b93013f (diff) | |
download | scummvm-rg350-1f88852de548a02e42c9fc8a546fc377117f87ae.tar.gz scummvm-rg350-1f88852de548a02e42c9fc8a546fc377117f87ae.tar.bz2 scummvm-rg350-1f88852de548a02e42c9fc8a546fc377117f87ae.zip |
PRINCE: blackPalette(), setPalette() update - allow game quit
Diffstat (limited to 'engines/prince/object.cpp')
-rw-r--r-- | engines/prince/object.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/prince/object.cpp b/engines/prince/object.cpp index e4dece4426..c8cdc75083 100644 --- a/engines/prince/object.cpp +++ b/engines/prince/object.cpp @@ -43,7 +43,7 @@ Object::~Object() { delete _surface; _surface = nullptr; } - if (_zoomSurface) { + if (_zoomSurface != nullptr) { _zoomSurface->free(); delete _zoomSurface; _zoomSurface = nullptr; |