From 0069fb107267705b186fbed098a62a78624855ae Mon Sep 17 00:00:00 2001 From: Matt Hargett Date: Sat, 7 Sep 2002 19:55:16 +0000 Subject: Fix heap corruption. Fix compiler warning. svn-id: r4901 --- scumm/script_v2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scumm') 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]); -- cgit v1.2.3