aboutsummaryrefslogtreecommitdiff
path: root/engines/prince/mhwanh.cpp
diff options
context:
space:
mode:
authorKamil Zbróg2013-11-18 16:19:21 +0000
committerKamil Zbróg2013-11-18 16:19:21 +0000
commit3d1d1884324a240b73fea6de3b5df6f7310eeb53 (patch)
tree1d90a8a93af70a8ef6a8ee9139010adf6719c733 /engines/prince/mhwanh.cpp
parente8f15766f8bdd1825d38faaef821d267a2f58f18 (diff)
downloadscummvm-rg350-3d1d1884324a240b73fea6de3b5df6f7310eeb53.tar.gz
scummvm-rg350-3d1d1884324a240b73fea6de3b5df6f7310eeb53.tar.bz2
scummvm-rg350-3d1d1884324a240b73fea6de3b5df6f7310eeb53.zip
PRINCE: script updated to read value when necessary
Diffstat (limited to 'engines/prince/mhwanh.cpp')
-rw-r--r--engines/prince/mhwanh.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/prince/mhwanh.cpp b/engines/prince/mhwanh.cpp
index 92a6a900f5..3bd034e4a7 100644
--- a/engines/prince/mhwanh.cpp
+++ b/engines/prince/mhwanh.cpp
@@ -39,7 +39,8 @@ MhwanhDecoder::~MhwanhDecoder() {
void MhwanhDecoder::destroy() {
if (_surface) {
_surface->free();
- delete _surface; _surface = 0;
+ delete _surface;
+ _surface = 0;
}
delete [] _palette; _palette = 0;