aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/exec_ns.cpp
diff options
context:
space:
mode:
authorNicola Mettifogo2008-05-10 11:11:03 +0000
committerNicola Mettifogo2008-05-10 11:11:03 +0000
commit6979458e26a3f8226aa46adcf0bea76ae8797eb0 (patch)
treeee90f0ce306300d09041131354798522892f4f87 /engines/parallaction/exec_ns.cpp
parent61a3b1bd138d04296b8d6322bd998a87bca56589 (diff)
downloadscummvm-rg350-6979458e26a3f8226aa46adcf0bea76ae8797eb0.tar.gz
scummvm-rg350-6979458e26a3f8226aa46adcf0bea76ae8797eb0.tar.bz2
scummvm-rg350-6979458e26a3f8226aa46adcf0bea76ae8797eb0.zip
Extracted script parsing code to its own class.
svn-id: r31972
Diffstat (limited to 'engines/parallaction/exec_ns.cpp')
-rw-r--r--engines/parallaction/exec_ns.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/parallaction/exec_ns.cpp b/engines/parallaction/exec_ns.cpp
index 06969fd01d..9ed56827b5 100644
--- a/engines/parallaction/exec_ns.cpp
+++ b/engines/parallaction/exec_ns.cpp
@@ -361,7 +361,6 @@ void Parallaction_ns::runScripts() {
debugC(9, kDebugExec, "runScripts");
-
static uint16 modCounter = 0;
for (ProgramList::iterator it = _location._programs.begin(); it != _location._programs.end(); it++) {
@@ -379,7 +378,7 @@ void Parallaction_ns::runScripts() {
(*it)->_status = kProgramRunning;
- debugC(9, kDebugExec, "Animation: %s, instruction: %s", a->_name, _instructionNamesRes[(*inst)->_index - 1]);
+ debugC(9, kDebugExec, "Animation: %s, instruction: %i", a->_name, (*inst)->_index); //_instructionNamesRes[(*inst)->_index - 1]);
_instRunCtxt.inst = inst;
_instRunCtxt.anim = AnimationPtr(a);