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 0c802f3249..bc3cc261ef 100644
--- a/engines/parallaction/exec_ns.cpp
+++ b/engines/parallaction/exec_ns.cpp
@@ -309,7 +309,7 @@ void ProgramExec::runScript(ProgramPtr script, AnimationPtr a) {
inst = _ctxt.ip;
_ctxt.inst = inst;
- _ctxt.ip++;
+ ++_ctxt.ip;
debugC(9, kDebugExec, "inst [%02i] %s\n", (*inst)->_index, _instructionNames[(*inst)->_index - 1]);
@@ -330,7 +330,7 @@ void ProgramExec::runScripts(ProgramList::iterator first, ProgramList::iterator
return;
}
- for (ProgramList::iterator it = first; it != last; it++) {
+ for (ProgramList::iterator it = first; it != last; ++it) {
AnimationPtr a = (*it)->_anim;
@@ -359,7 +359,7 @@ void CommandExec::runList(CommandList::iterator first, CommandList::iterator las
_suspend = false;
_running = true;
- for ( ; first != last; first++) {
+ for ( ; first != last; ++first) {
if (_vm->shouldQuit())
break;