aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction
diff options
context:
space:
mode:
authorTorbjörn Andersson2010-01-21 23:05:33 +0000
committerTorbjörn Andersson2010-01-21 23:05:33 +0000
commit1928a7ba38bed50b2342fa0946538b6dc5330755 (patch)
treef00a042f11e56e422b47f7555fb29bd75c04ccfa /engines/parallaction
parent8257b1106cf8c037c56ee855edc3d8dd32d12dd8 (diff)
downloadscummvm-rg350-1928a7ba38bed50b2342fa0946538b6dc5330755.tar.gz
scummvm-rg350-1928a7ba38bed50b2342fa0946538b6dc5330755.tar.bz2
scummvm-rg350-1928a7ba38bed50b2342fa0946538b6dc5330755.zip
Silenced some cppcheck warnings.
svn-id: r47427
Diffstat (limited to 'engines/parallaction')
-rw-r--r--engines/parallaction/debug.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/parallaction/debug.cpp b/engines/parallaction/debug.cpp
index 4cdd7f989e..8864c84e2f 100644
--- a/engines/parallaction/debug.cpp
+++ b/engines/parallaction/debug.cpp
@@ -158,7 +158,7 @@ bool Debugger::Cmd_Zones(int argc, const char **argv) {
DebugPrintf("+--------------------+---+---+---+---+--------+--------+\n"
"| name | l | t | r | b | type | flag |\n"
"+--------------------+---+---+---+---+--------+--------+\n");
- for ( ; b != e; b++) {
+ for ( ; b != e; ++b) {
ZonePtr z = *b;
z->getRect(r);
DebugPrintf("|%-20s|%3i|%3i|%3i|%3i|%8x|%8x|\n", z->_name, r.left, r.top, r.right, r.bottom, z->_type, z->_flags );
@@ -237,7 +237,7 @@ bool Debugger::Cmd_Animations(int argc, const char **argv) {
DebugPrintf("+--------------------+----+----+----+---+--------+----------------------------------------+\n"
"| name | x | y | z | f | type | flags | \n"
"+--------------------+----+----+----+---+--------+----------------------------------------+\n");
- for ( ; b != e; b++) {
+ for ( ; b != e; ++b) {
AnimationPtr a = *b;
flags = decodeZoneFlags(a->_flags);
DebugPrintf("|%-20s|%4i|%4i|%4i|%3i|%8x|%-40s|\n", a->_name, a->getX(), a->getY(), a->getZ(), a->getF(), a->_type, flags.c_str() );
@@ -260,7 +260,7 @@ bool Debugger::Cmd_GfxObjects(int argc, const char **argv) {
GfxObjArray::iterator e = _vm->_gfx->_sceneObjects.end();
Common::Rect r;
- for ( ; b != e; b++) {
+ for ( ; b != e; ++b) {
GfxObj *obj = *b;
obj->getRect(obj->frame, r);
DebugPrintf("|%-20s|%5i|%5i|%5i|%5i|%5i|%7i|%5i|%8s|\n", obj->getName(), r.left, r.top, r.width(), r.height(),