diff options
author | Max Horn | 2003-01-06 13:41:29 +0000 |
---|---|---|
committer | Max Horn | 2003-01-06 13:41:29 +0000 |
commit | 37a64f5d12e0343347cffa57b7e1bbd00ec60db0 (patch) | |
tree | 1aece16d09acafb47237d3a759a48850e2aa857a /scumm/script_v6.cpp | |
parent | f1d1076fd7aef2a17b37ecae1708a89e80686a86 (diff) | |
download | scummvm-rg350-37a64f5d12e0343347cffa57b7e1bbd00ec60db0.tar.gz scummvm-rg350-37a64f5d12e0343347cffa57b7e1bbd00ec60db0.tar.bz2 scummvm-rg350-37a64f5d12e0343347cffa57b7e1bbd00ec60db0.zip |
cleanup; added a hack to avoid crash in the canon scene (at least it works this way for me)
svn-id: r6347
Diffstat (limited to 'scumm/script_v6.cpp')
-rw-r--r-- | scumm/script_v6.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/script_v6.cpp b/scumm/script_v6.cpp index b73581a631..c4375db98d 100644 --- a/scumm/script_v6.cpp +++ b/scumm/script_v6.cpp @@ -2845,7 +2845,7 @@ void Scumm_v6::o6_kernelGetFunctions() void Scumm_v6::o6_delayFrames() { ScriptSlot *ss = &vm.slot[_currentScript]; - if (ss->delayFrameCount== 0) { + if (ss->delayFrameCount == 0) { ss->delayFrameCount = pop(); } else { ss->delayFrameCount--; |