aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/commands.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/parallaction/commands.cpp')
-rw-r--r--engines/parallaction/commands.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/parallaction/commands.cpp b/engines/parallaction/commands.cpp
index 1b46b77cb8..a0c5972633 100644
--- a/engines/parallaction/commands.cpp
+++ b/engines/parallaction/commands.cpp
@@ -200,7 +200,7 @@ void freeCommands(Command *list) {
while (cmd) {
Command *v4 = (Command*)cmd->_next;
- if (cmd->_id == 6) delete cmd->u._zone; // open
+ if (cmd->_id == CMD_LOCATION) free(cmd->u._string);
delete cmd;
cmd = v4;