aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/exec_ns.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/parallaction/exec_ns.cpp')
-rw-r--r--engines/parallaction/exec_ns.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/parallaction/exec_ns.cpp b/engines/parallaction/exec_ns.cpp
index d7500be7f1..7bf9c69332 100644
--- a/engines/parallaction/exec_ns.cpp
+++ b/engines/parallaction/exec_ns.cpp
@@ -48,7 +48,7 @@ namespace Parallaction {
#define INST_START 16
#define INST_SOUND 17
#define INST_MOVE 18
-#define INST_END 19
+#define INST_ENDSCRIPT 19
typedef OpcodeImpl<Parallaction_ns> OpcodeV1;
@@ -185,7 +185,7 @@ DECLARE_INSTRUCTION_OPCODE(move) {
_engineFlags |= kEngineWalking;
}
-DECLARE_INSTRUCTION_OPCODE(end) {
+DECLARE_INSTRUCTION_OPCODE(endscript) {
if ((_instRunCtxt.a->_flags & kFlagsLooping) == 0) {
_instRunCtxt.a->_flags &= ~kFlagsActing;
runCommands(_instRunCtxt.a->_commands, _instRunCtxt.a);
@@ -819,7 +819,7 @@ void Parallaction_ns::initOpcodes() {
INSTRUCTION_OPCODE(start),
INSTRUCTION_OPCODE(sound),
INSTRUCTION_OPCODE(move),
- INSTRUCTION_OPCODE(end)
+ INSTRUCTION_OPCODE(endscript)
};
uint i;