Fix heap corruption. Fix compiler warning.
svn-id: r4901
This commit is contained in:
parent
5b4f2cefef
commit
0069fb1072
3 changed files with 6 additions and 3 deletions
|
@ -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]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue