diff options
author | Nicola Mettifogo | 2009-02-03 10:38:56 +0000 |
---|---|---|
committer | Nicola Mettifogo | 2009-02-03 10:38:56 +0000 |
commit | 0a42482fc3869d99d979c5f7f80c1cd90cb4c272 (patch) | |
tree | f72b4787390788eb5a820e7db0fbbf6810483599 | |
parent | 44e6c3c6303556f88dc209c8732d666a3ae5b46f (diff) | |
download | scummvm-rg350-0a42482fc3869d99d979c5f7f80c1cd90cb4c272.tar.gz scummvm-rg350-0a42482fc3869d99d979c5f7f80c1cd90cb4c272.tar.bz2 scummvm-rg350-0a42482fc3869d99d979c5f7f80c1cd90cb4c272.zip |
Removed newlines from debug statements.
svn-id: r36208
-rw-r--r-- | engines/parallaction/walk.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/engines/parallaction/walk.cpp b/engines/parallaction/walk.cpp index 77251bc319..2cc3d2faa7 100644 --- a/engines/parallaction/walk.cpp +++ b/engines/parallaction/walk.cpp @@ -499,10 +499,10 @@ void PathWalker_BR::walk() { if (_ch->_walkPath.empty()) { finalizeWalk(); - debugC(3, kDebugWalk, "PathWalker_BR::walk, case 0\n"); + debugC(3, kDebugWalk, "PathWalker_BR::walk, case 0"); return; } else { - debugC(3, kDebugWalk, "PathWalker_BR::walk, moving to next node\n"); + debugC(3, kDebugWalk, "PathWalker_BR::walk, moving to next node"); } } @@ -512,7 +512,7 @@ void PathWalker_BR::walk() { int xStep = (scale * 16) / 100 + 1; int yStep = (scale * 10) / 100 + 1; - debugC(9, kDebugWalk, "calculated step: (%i, %i)\n", xStep, yStep); + debugC(9, kDebugWalk, "calculated step: (%i, %i)", xStep, yStep); _fieldC = 0; _step++; @@ -579,10 +579,10 @@ void PathWalker_BR::walk() { } } - debugC(9, kDebugWalk, "foot (%i, %i) dest (%i, %i) deltas = %i/%i \n", _startFoot.x, _startFoot.y, p.x, p.y, delta.x, delta.y); + debugC(9, kDebugWalk, "foot (%i, %i) dest (%i, %i) deltas = %i/%i ", _startFoot.x, _startFoot.y, p.x, p.y, delta.x, delta.y); if (_fieldC) { - debugC(9, kDebugWalk, "PathWalker_BR::walk, foot moved from (%i, %i) to (%i, %i)\n", _startFoot.x, _startFoot.y, newpos.x, newpos.y); + debugC(9, kDebugWalk, "PathWalker_BR::walk, foot moved from (%i, %i) to (%i, %i)", _startFoot.x, _startFoot.y, newpos.x, newpos.y); _ch->_ani->setF(walkFrame + _dirFrame + 1); _startFoot.x = newpos.x; _startFoot.y = newpos.y; @@ -592,11 +592,11 @@ void PathWalker_BR::walk() { if (_fieldC || !_ch->_walkPath.empty()) { // checkTrap(); - debugC(3, kDebugWalk, "PathWalker_BR::walk, case 1\n"); + debugC(3, kDebugWalk, "PathWalker_BR::walk, case 1"); return; } - debugC(3, kDebugWalk, "PathWalker_BR::walk, case 2\n"); + debugC(3, kDebugWalk, "PathWalker_BR::walk, case 2"); finalizeWalk(); return; } |