aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorNicola Mettifogo2007-10-21 13:09:53 +0000
committerNicola Mettifogo2007-10-21 13:09:53 +0000
commit78bc71e6f58da855155d04579db2dd31fbd955a3 (patch)
tree57b586719281799a4ee3daf949d7ba9212a6db3f /engines
parentf1958a2218d1e8f21ec8425c398c531892221309 (diff)
downloadscummvm-rg350-78bc71e6f58da855155d04579db2dd31fbd955a3.tar.gz
scummvm-rg350-78bc71e6f58da855155d04579db2dd31fbd955a3.tar.bz2
scummvm-rg350-78bc71e6f58da855155d04579db2dd31fbd955a3.zip
Cleanup.
svn-id: r29238
Diffstat (limited to 'engines')
-rw-r--r--engines/parallaction/parser_ns.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/parallaction/parser_ns.cpp b/engines/parallaction/parser_ns.cpp
index 4db31f29e7..b8b6cf338c 100644
--- a/engines/parallaction/parser_ns.cpp
+++ b/engines/parallaction/parser_ns.cpp
@@ -1245,9 +1245,7 @@ void Parallaction_ns::parseZone(Script &script, ZoneList &list, char *name) {
debugC(5, kDebugParser, "parseZone(name: %s)", name);
if (findZone(name)) {
- while (scumm_stricmp(_tokens[0], "endzone")) {
- script.readLineToken(true);
- }
+ script.skip("endzone");
return;
}