From 8ae8a3aff446b5654db50b9c32a6c9a0db5b9103 Mon Sep 17 00:00:00 2001 From: Alyssa Milburn Date: Fri, 21 May 2010 16:46:10 +0200 Subject: [PATCH] correctly parse animations of type none --- engines/parallaction/parser_ns.cpp | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/engines/parallaction/parser_ns.cpp b/engines/parallaction/parser_ns.cpp index ff24a06..f5de38c 100644 --- a/engines/parallaction/parser_ns.cpp +++ b/engines/parallaction/parser_ns.cpp @@ -212,13 +212,13 @@ DECLARE_ANIM_PARSER(type) { debugC(7, kDebugParser, "ANIM_PARSER(type) "); ctxt.a->_type = buildZoneType(_tokens[1], _tokens[2]); - if ((ACTIONTYPE(ctxt.a) != 0) && (ACTIONTYPE(ctxt.a) != kZoneCommand)) { + if ((ACTIONTYPE(ctxt.a) != 0) && (ACTIONTYPE(ctxt.a) != kZoneCommand) && (ACTIONTYPE(ctxt.a) != kZoneNone)) { parseZoneTypeBlock(ctxt.a); + + _parser->popTables(); } ctxt.a->_flags |= 0x1000000; - - _parser->popTables(); } -- 1.6.3.3