diff options
author | Ľubomír Remák | 2018-03-20 22:15:23 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2018-08-25 23:12:01 +0200 |
commit | 7a081f0605f2282fdce907bedfc9cae55dc67ab7 (patch) | |
tree | 520e4fff4e6d582ab911f18d997d3f7048b22bee /engines/mutationofjb/commands/gotocommand.cpp | |
parent | 1d84041508b3acaf7a47fde81e7e334c004507b8 (diff) | |
download | scummvm-rg350-7a081f0605f2282fdce907bedfc9cae55dc67ab7.tar.gz scummvm-rg350-7a081f0605f2282fdce907bedfc9cae55dc67ab7.tar.bz2 scummvm-rg350-7a081f0605f2282fdce907bedfc9cae55dc67ab7.zip |
MUTATIONOFJB: Load local (room) scripts.
Diffstat (limited to 'engines/mutationofjb/commands/gotocommand.cpp')
-rw-r--r-- | engines/mutationofjb/commands/gotocommand.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/mutationofjb/commands/gotocommand.cpp b/engines/mutationofjb/commands/gotocommand.cpp index 40560f3bfb..a1d1a9d819 100644 --- a/engines/mutationofjb/commands/gotocommand.cpp +++ b/engines/mutationofjb/commands/gotocommand.cpp @@ -26,7 +26,7 @@ #include "mutationofjb/script.h" /* - GOTO <label> + "GOTO " <label> Jumps to a label. */ @@ -38,7 +38,7 @@ bool GotoCommandParser::parse(const Common::String &line, ScriptParseContext &pa return false; } - Common::String label = line.c_str() + 6; + Common::String label = line.c_str() + 5; GotoCommand *gotoCmd = new GotoCommand(); if (parseCtx._labels.contains(label)) { |