From 529800e1728b9d1ce89bf7faf4dfd86d6cb25e5f Mon Sep 17 00:00:00 2001 From: Benjamin Haisch Date: Wed, 21 May 2008 07:16:12 +0000 Subject: Removed obsolete comment and code in ScriptInterpreter::dumpScript svn-id: r32204 --- engines/made/script.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'engines/made') diff --git a/engines/made/script.cpp b/engines/made/script.cpp index 6b736e321b..e5fdf5a109 100644 --- a/engines/made/script.cpp +++ b/engines/made/script.cpp @@ -679,12 +679,10 @@ void ScriptInterpreter::dumpScript(int16 objectIndex, int *opcodeStats, int *ext int valueType; /* 0: dec; 1: hex; 2: extended function */ int16 value; char tempStr[32]; - if (opcodeStats) - opcodeStats[opcode - 1]++; + opcodeStats[opcode - 1]++; codeLine += desc; for (; *sig != '\0'; sig++) { codeLine += " "; - // Fallthroughs are intended switch (*sig) { case 'b': valueType = 0; -- cgit v1.2.3