aboutsummaryrefslogtreecommitdiff
path: root/engines/mutationofjb/commands/gotocommand.cpp
diff options
context:
space:
mode:
authorĽubomír Remák2018-03-20 22:15:23 +0100
committerEugene Sandulenko2018-08-25 23:12:01 +0200
commit7a081f0605f2282fdce907bedfc9cae55dc67ab7 (patch)
tree520e4fff4e6d582ab911f18d997d3f7048b22bee /engines/mutationofjb/commands/gotocommand.cpp
parent1d84041508b3acaf7a47fde81e7e334c004507b8 (diff)
downloadscummvm-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.cpp4
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)) {