aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;