diff options
author | Nicola Mettifogo | 2009-03-29 14:09:24 +0000 |
---|---|---|
committer | Nicola Mettifogo | 2009-03-29 14:09:24 +0000 |
commit | 5fa83a26e642038806fe2536f5694ae783ec57cf (patch) | |
tree | 40f5051b349ce663136c6deaf38b8807402f395c /engines | |
parent | 34c2546fdd18d5193560748006ea92008144fe10 (diff) | |
download | scummvm-rg350-5fa83a26e642038806fe2536f5694ae783ec57cf.tar.gz scummvm-rg350-5fa83a26e642038806fe2536f5694ae783ec57cf.tar.bz2 scummvm-rg350-5fa83a26e642038806fe2536f5694ae783ec57cf.zip |
Implemented IFCHAR command. This makes part 3 of BRA completely explorable.
svn-id: r39742
Diffstat (limited to 'engines')
-rw-r--r-- | engines/parallaction/parser_br.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/parallaction/parser_br.cpp b/engines/parallaction/parser_br.cpp index 8bb034986b..57153e0aec 100644 --- a/engines/parallaction/parser_br.cpp +++ b/engines/parallaction/parser_br.cpp @@ -447,7 +447,9 @@ DECLARE_LOCATION_PARSER(character) { DECLARE_LOCATION_PARSER(ifchar) { debugC(7, kDebugParser, "LOCATION_PARSER(ifchar) "); - _script->skip("ENDIF"); + if (scumm_stricmp(_vm->_char.getName(), _tokens[1])) { + _script->skip("ENDIF"); + } } |