diff options
author | Travis Howell | 2005-02-22 13:54:38 +0000 |
---|---|---|
committer | Travis Howell | 2005-02-22 13:54:38 +0000 |
commit | 99f54b437d810ea527a6ca89cb387d786e6276f4 (patch) | |
tree | c1943354074ebb7bcaf72e65b8d5f0f6e1182981 /scumm/script_v80he.cpp | |
parent | 9bb141481822a6f1deef4c152e6bbb87d4136a10 (diff) | |
download | scummvm-rg350-99f54b437d810ea527a6ca89cb387d786e6276f4.tar.gz scummvm-rg350-99f54b437d810ea527a6ca89cb387d786e6276f4.tar.bz2 scummvm-rg350-99f54b437d810ea527a6ca89cb387d786e6276f4.zip |
Minor cleanup
svn-id: r16860
Diffstat (limited to 'scumm/script_v80he.cpp')
-rw-r--r-- | scumm/script_v80he.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/scumm/script_v80he.cpp b/scumm/script_v80he.cpp index ae943e1870..25590b3518 100644 --- a/scumm/script_v80he.cpp +++ b/scumm/script_v80he.cpp @@ -446,7 +446,7 @@ void ScummEngine_v80he::o80_localizeArrayToRoom() { void ScummEngine_v80he::o80_readConfigFile() { byte name[128], section[128], filename[256]; - int type, retval; + int type; // we pretend that we don't have .ini file copyScriptString(section); @@ -463,9 +463,8 @@ void ScummEngine_v80he::o80_readConfigFile() { case 7: // string writeVar(0, 0); defineArray(0, kStringArray, 0, 0, 0, 0); - retval = readVar(0); writeArray(0, 0, 0, 0); - push(retval); // var ID string + push(readVar(0)); // var ID string break; default: error("o80_readConfigFile: default type %d", type); |