diff options
author | Travis Howell | 2004-02-14 05:39:18 +0000 |
---|---|---|
committer | Travis Howell | 2004-02-14 05:39:18 +0000 |
commit | b924e502b13eb80deb5b0135cd38b60257793794 (patch) | |
tree | e659bee70397014531b24fa26480df93b17794c7 /scumm | |
parent | 29b21ca8f85a17ce89999a20f1b241da1d0f3353 (diff) | |
download | scummvm-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.cpp | 4 |
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(); |