From 99f54b437d810ea527a6ca89cb387d786e6276f4 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Tue, 22 Feb 2005 13:54:38 +0000 Subject: Minor cleanup svn-id: r16860 --- scumm/script_v80he.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'scumm/script_v80he.cpp') 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); -- cgit v1.2.3