From d58b2bea3b6f79d9e8888b1c7caf115d024d766a Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Sun, 8 Apr 2007 23:25:53 +0000 Subject: Adjust debug output in writeINI opcode, so it doesn't get skipped. svn-id: r26420 --- engines/scumm/he/script_v72he.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'engines/scumm/he/script_v72he.cpp') diff --git a/engines/scumm/he/script_v72he.cpp b/engines/scumm/he/script_v72he.cpp index 518eb7d765..5611047596 100644 --- a/engines/scumm/he/script_v72he.cpp +++ b/engines/scumm/he/script_v72he.cpp @@ -2155,13 +2155,15 @@ void ScummEngine_v72he::o72_writeINI() { case 6: // number value = pop(); copyScriptString(option, sizeof(option)); - ConfMan.setInt((char *)option, value); debug(1, "o72_writeINI: Option %s Value %d", option, value); + + ConfMan.setInt((char *)option, value); break; case 77: // HE 100 case 7: // string copyScriptString(string, sizeof(string)); copyScriptString(option, sizeof(option)); + debug(1, "o72_writeINI: Option %s String %s", option, string); // Filter out useless setting if (!strcmp((char *)option, "HETest")) @@ -2176,7 +2178,6 @@ void ScummEngine_v72he::o72_writeINI() { return; ConfMan.set((char *)option, (char *)string); - debug(1, "o72_writeINI: Option %s String %s", option, string); break; default: error("o72_writeINI: default type %d", subOp); -- cgit v1.2.3