diff options
Diffstat (limited to 'engines/scumm/he/script_v70he.cpp')
| -rw-r--r-- | engines/scumm/he/script_v70he.cpp | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/scumm/he/script_v70he.cpp b/engines/scumm/he/script_v70he.cpp index 133d802311..c5dc545732 100644 --- a/engines/scumm/he/script_v70he.cpp +++ b/engines/scumm/he/script_v70he.cpp @@ -927,7 +927,7 @@ void ScummEngine_v70he::o70_isResourceLoaded() {  void ScummEngine_v70he::o70_readINI() {  	byte option[256]; -	ArrayHeader *ah; +	byte *data;  	const char *entry;  	int len, type; @@ -951,8 +951,8 @@ void ScummEngine_v70he::o70_readINI() {  		writeVar(0, 0);  		len = resStrLen((const byte *)entry); -		ah = defineArray(0, kStringArray, 0, len); -		memcpy(ah->data, entry, len); +		data = defineArray(0, kStringArray, 0, len); +		memcpy(data, entry, len);  		push(readVar(0));  		break;  | 
