aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorTravis Howell2004-02-14 05:39:18 +0000
committerTravis Howell2004-02-14 05:39:18 +0000
commitb924e502b13eb80deb5b0135cd38b60257793794 (patch)
treee659bee70397014531b24fa26480df93b17794c7 /scumm
parent29b21ca8f85a17ce89999a20f1b241da1d0f3353 (diff)
downloadscummvm-rg350-b924e502b13eb80deb5b0135cd38b60257793794.tar.gz
scummvm-rg350-b924e502b13eb80deb5b0135cd38b60257793794.tar.bz2
scummvm-rg350-b924e502b13eb80deb5b0135cd38b60257793794.zip
Fix valgrind warning in PC version of FT demo
svn-id: r12868
Diffstat (limited to 'scumm')
-rw-r--r--scumm/insane/insane.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/scumm/insane/insane.cpp b/scumm/insane/insane.cpp
index 3d4022b1a1..3c10a5aca0 100644
--- a/scumm/insane/insane.cpp
+++ b/scumm/insane/insane.cpp
@@ -52,8 +52,10 @@ Insane::Insane(ScummEngine_v6 *scumm) {
_vm = scumm;
#ifndef FTDOSDEMO
- if ((_vm->_features & GF_DEMO) && (_vm->_features & GF_PC))
+ if ((_vm->_features & GF_DEMO) && (_vm->_features & GF_PC)) {
+ _insaneIsRunning = false;
return;
+ }
#endif
initvars();