diff options
| -rw-r--r-- | scumm/script_v6.cpp | 5 | 
1 files changed, 3 insertions, 2 deletions
| diff --git a/scumm/script_v6.cpp b/scumm/script_v6.cpp index 52508edc15..bdca6537ab 100644 --- a/scumm/script_v6.cpp +++ b/scumm/script_v6.cpp @@ -2811,8 +2811,9 @@ void Scumm_v6::o6_kernelFunction()  		if ((_extraBoxFlags[args[1]] & 0x00FF) == 0x00C0) {  			push(_extraBoxFlags[args[1]]);  		} else { -			byte *temp = (byte *)getBoxBaseAddr(args[1]); -			push((byte)(*(temp + 17))); +//			byte *temp = (byte *)getBoxBaseAddr(args[1]); +//			push((byte)(*(temp + 17))); +			push(getBoxFlags(args[1]));  		}  		break;  	default: | 
