diff options
author | Travis Howell | 2004-01-18 03:24:52 +0000 |
---|---|---|
committer | Travis Howell | 2004-01-18 03:24:52 +0000 |
commit | a95818d29a706095517ada079f316ad74f20a86d (patch) | |
tree | 7e39b1c961dcba5cac2cffc5a9e3950a9d4375e1 /scumm/script_v6.cpp | |
parent | 758922026a256ad09334b55bf7aef06712ed92cd (diff) | |
download | scummvm-rg350-a95818d29a706095517ada079f316ad74f20a86d.tar.gz scummvm-rg350-a95818d29a706095517ada079f316ad74f20a86d.tar.bz2 scummvm-rg350-a95818d29a706095517ada079f316ad74f20a86d.zip |
Avoid assert in PC version of FT demo.
svn-id: r12464
Diffstat (limited to 'scumm/script_v6.cpp')
-rw-r--r-- | scumm/script_v6.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scumm/script_v6.cpp b/scumm/script_v6.cpp index 25d7f60001..7d1495cc51 100644 --- a/scumm/script_v6.cpp +++ b/scumm/script_v6.cpp @@ -2433,8 +2433,11 @@ void ScummEngine_v6::o6_kernelSetFunctions() { } else if (_gameId == GID_FT) { const int insaneVarNum = (_features & GF_DEMO) ? 232 : 233; + // PC demo uses different INSANE + if (!(_features & GF_DEMO)) { _insane->setSmushParams(speed); _insane->runScene(insaneVarNum); + } } delete sp; } |