diff options
author | Matt Hargett | 2002-09-07 19:55:16 +0000 |
---|---|---|
committer | Matt Hargett | 2002-09-07 19:55:16 +0000 |
commit | 0069fb107267705b186fbed098a62a78624855ae (patch) | |
tree | 016bbc79a549b04eb2299f655dc7baa21f2931ee /scumm/script_v2.cpp | |
parent | 5b4f2cefef465a6d4915527b7f91e782816a1f2b (diff) | |
download | scummvm-rg350-0069fb107267705b186fbed098a62a78624855ae.tar.gz scummvm-rg350-0069fb107267705b186fbed098a62a78624855ae.tar.bz2 scummvm-rg350-0069fb107267705b186fbed098a62a78624855ae.zip |
Fix heap corruption. Fix compiler warning.
svn-id: r4901
Diffstat (limited to 'scumm/script_v2.cpp')
-rw-r--r-- | scumm/script_v2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/script_v2.cpp b/scumm/script_v2.cpp index a717980013..9117bf62cb 100644 --- a/scumm/script_v2.cpp +++ b/scumm/script_v2.cpp @@ -2973,7 +2973,7 @@ void Scumm::o6_kernelFunction() push(a->frame); break; case 215: - if (_extraBoxFlags[args[1]] & 0x00FF == 0x00C0) { + if ((_extraBoxFlags[args[1]] & 0x00FF) == 0x00C0) { push(_extraBoxFlags[args[1]]); } else { byte *temp = (byte *)getBoxBaseAddr(args[1]); |