aboutsummaryrefslogtreecommitdiff
path: root/engines/made
diff options
context:
space:
mode:
authorBenjamin Haisch2008-05-21 07:16:12 +0000
committerBenjamin Haisch2008-05-21 07:16:12 +0000
commit529800e1728b9d1ce89bf7faf4dfd86d6cb25e5f (patch)
treeb127700d4b33b0093980b25fe5520a746d1f9c85 /engines/made
parent828a217a03038673dfbd0f88a80f78832b55d872 (diff)
downloadscummvm-rg350-529800e1728b9d1ce89bf7faf4dfd86d6cb25e5f.tar.gz
scummvm-rg350-529800e1728b9d1ce89bf7faf4dfd86d6cb25e5f.tar.bz2
scummvm-rg350-529800e1728b9d1ce89bf7faf4dfd86d6cb25e5f.zip
Removed obsolete comment and code in ScriptInterpreter::dumpScript
svn-id: r32204
Diffstat (limited to 'engines/made')
-rw-r--r--engines/made/script.cpp4
1 files changed, 1 insertions, 3 deletions
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;