diff options
Diffstat (limited to 'engines/parallaction/parallaction.cpp')
-rw-r--r-- | engines/parallaction/parallaction.cpp | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/engines/parallaction/parallaction.cpp b/engines/parallaction/parallaction.cpp index 2a53eb11a2..367b470a10 100644 --- a/engines/parallaction/parallaction.cpp +++ b/engines/parallaction/parallaction.cpp @@ -132,6 +132,7 @@ Parallaction::~Parallaction() { delete _instructionNames; delete _zoneTypeNames; delete _zoneFlagNames; + delete _locationStmt; _animations.remove(&_char._ani); @@ -944,6 +945,28 @@ void Parallaction::initOpcodes() { _commandOpcodes = op3; + + static const Opcode op4[] = { + LOCATION_PARSER(invalid), + LOCATION_PARSER(endlocation), + LOCATION_PARSER(location), + LOCATION_PARSER(disk), + LOCATION_PARSER(nodes), + LOCATION_PARSER(zone), + LOCATION_PARSER(animation), + LOCATION_PARSER(localflags), + LOCATION_PARSER(commands), + LOCATION_PARSER(acommands), + LOCATION_PARSER(flags), + LOCATION_PARSER(comment), + LOCATION_PARSER(endcomment), + LOCATION_PARSER(sound), + LOCATION_PARSER(music) + }; + + _locationParsers = op4; + + } } // namespace Parallaction |