aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm
diff options
context:
space:
mode:
authorEugene Sandulenko2016-10-09 15:26:48 +0200
committerEugene Sandulenko2016-10-09 15:26:48 +0200
commitee324a07cf76adcd10d69b971254f64b8fa334ba (patch)
tree41ccd141b78153b8c696ba7e8eba0611568a2896 /engines/scumm
parent355c4fa646c375c2ac42450871ff3d9221d1719d (diff)
downloadscummvm-rg350-ee324a07cf76adcd10d69b971254f64b8fa334ba.tar.gz
scummvm-rg350-ee324a07cf76adcd10d69b971254f64b8fa334ba.tar.bz2
scummvm-rg350-ee324a07cf76adcd10d69b971254f64b8fa334ba.zip
SCUMM: Fix crash on exit in FT demo
Diffstat (limited to 'engines/scumm')
-rw-r--r--engines/scumm/insane/insane.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/engines/scumm/insane/insane.cpp b/engines/scumm/insane/insane.cpp
index f0bbab53e6..c0ba9ea6c8 100644
--- a/engines/scumm/insane/insane.cpp
+++ b/engines/scumm/insane/insane.cpp
@@ -66,6 +66,18 @@ Insane::Insane(ScummEngine_v7 *scumm) {
readFileToMem("minefite.flu", &_smush_minefiteFlu);
_smush_bensgoggNut = new NutRenderer(_vm, "bensgogg.nut");
_smush_bencutNut = new NutRenderer(_vm, "bencut.nut");
+ } else {
+ _smush_roadrashRip = NULL;
+ _smush_roadrsh2Rip = NULL;
+ _smush_roadrsh3Rip = NULL;
+ _smush_goglpaltRip = NULL;
+ _smush_tovista1Flu = NULL;
+ _smush_tovista2Flu = NULL;
+ _smush_toranchFlu = NULL;
+ _smush_minedrivFlu = NULL;
+ _smush_minefiteFlu = NULL;
+ _smush_bensgoggNut = NULL;
+ _smush_bencutNut = NULL;
}
_smush_iconsNut = new NutRenderer(_vm, "icons.nut");