Skip to content

Commit

Permalink
ACCESS: Change walking errors to TODO comments
Browse files Browse the repository at this point in the history
  • Loading branch information
dreammaster committed Aug 15, 2014
1 parent 9547efa commit 66b2d47
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions engines/access/player.cpp
Expand Up @@ -249,8 +249,7 @@ void Player::walkUp() {

calcManScale();
if (_vm->_currentMan != 3 && (_frame == 17 || _frame == 21)) {
error("TODO: si = 0?");
// si = 0
// TODO: si = 0?
}

if (++_frame > _upWalkMax)
Expand Down Expand Up @@ -278,8 +277,7 @@ void Player::walkDown() {

calcManScale();
if (_vm->_currentMan != 3 && (_frame == 10 || _frame == 14)) {
error("TODO: si = 0?");
// si = 0
// TODO: si = 0?
}

if (++_frame > _upWalkMax)
Expand Down Expand Up @@ -318,7 +316,7 @@ void Player::walkLeft() {
++_frame;

if (_vm->_currentMan != 3 && (_frame == 1 || _frame == 5)) {
error("TODO: si = 0?");
// TODO: si = 0?
}

if (_frame > _sideWalkMax)
Expand Down Expand Up @@ -357,7 +355,7 @@ void Player::walkRight() {
++_frame;

if (_vm->_currentMan != 3 && (_frame == 1 || _frame == 5)) {
error("TODO: si = 0?");
// TODO: si = 0?
}

if (_frame > _sideWalkMax)
Expand Down Expand Up @@ -404,7 +402,7 @@ void Player::walkUpLeft() {
calcManScale();

if (_vm->_currentMan != 3 && (_frame == 1 || _frame == 5)) {
error("TODO: si = 0?");
// TODO: si = 0?
}

if (_frame > _diagUpWalkMax)
Expand Down Expand Up @@ -451,7 +449,7 @@ void Player::walkDownLeft() {
calcManScale();

if (_vm->_currentMan != 3 && (_frame == 1 || _frame == 5)) {
error("TODO: si = 0?");
// TODO: si = 0?
}

if (_frame > _diagDownWalkMax)
Expand Down Expand Up @@ -498,7 +496,7 @@ void Player::walkUpRight() {
calcManScale();

if (_vm->_currentMan != 3 && (_frame == 1 || _frame == 5)) {
error("TODO: si = 0?");
// TODO: si = 0?
}

if (_frame > _diagUpWalkMax)
Expand Down Expand Up @@ -546,7 +544,7 @@ void Player::walkDownRight() {
calcManScale();

if (_vm->_currentMan != 3 && (_frame == 1 || _frame == 5)) {
error("TODO: si = 0?");
// TODO: si = 0?
}

if (_frame > _diagDownWalkMax)
Expand Down

0 comments on commit 66b2d47

Please sign in to comment.