aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/he/script_v80he.cpp
diff options
context:
space:
mode:
authorMax Horn2006-10-20 19:44:27 +0000
committerMax Horn2006-10-20 19:44:27 +0000
commit5e9041b1b558f8891435204b15e1db41f0686ad9 (patch)
tree1afbae9cf1e596e046e54fd1c29942d5860dc8dd /engines/scumm/he/script_v80he.cpp
parentff574a63ee368cdb4889dd0e17966b4a1ae1f117 (diff)
downloadscummvm-rg350-5e9041b1b558f8891435204b15e1db41f0686ad9.tar.gz
scummvm-rg350-5e9041b1b558f8891435204b15e1db41f0686ad9.tar.bz2
scummvm-rg350-5e9041b1b558f8891435204b15e1db41f0686ad9.zip
SCUMM: ArrayHeader related cleanup
svn-id: r24395
Diffstat (limited to 'engines/scumm/he/script_v80he.cpp')
-rw-r--r--engines/scumm/he/script_v80he.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/scumm/he/script_v80he.cpp b/engines/scumm/he/script_v80he.cpp
index 6ede98b2ec..5f4816ce9e 100644
--- a/engines/scumm/he/script_v80he.cpp
+++ b/engines/scumm/he/script_v80he.cpp
@@ -447,7 +447,7 @@ void ScummEngine_v80he::o80_sourceDebug() {
void ScummEngine_v80he::o80_readConfigFile() {
byte option[128], section[128], filename[256];
- ArrayHeader *ah;
+ byte *data;
Common::String entry;
int len, r;
@@ -477,8 +477,8 @@ void ScummEngine_v80he::o80_readConfigFile() {
writeVar(0, 0);
len = resStrLen((const byte *)entry.c_str());
- ah = defineArray(0, kStringArray, 0, 0, 0, len);
- memcpy(ah->data, entry.c_str(), len);
+ data = defineArray(0, kStringArray, 0, 0, 0, len);
+ memcpy(data, entry.c_str(), len);
push(readVar(0));
break;
default: