Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 24, 2011, 10:12:42 PM (13 years ago)
Author:
dafrick
Message:

Fixing another bug.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation/src/modules/tetris/TetrisStone.cc

    r8564 r8566  
    8282            const Vector3& position = this->getPosition();
    8383            Vector3 newPos = Vector3(position.x+value.x/abs(value.x)*this->size_, position.y, position.z);
    84             if(!this->tetris_->isValidMove(this, newPos).first)
     84            if(!this->tetris_->isValidMove(this, newPos))
    8585                return;
    8686
    87             //this->previousPosition_ = position;
    8887            this->setPosition(newPos);
    8988            this->delay_ = true;
Note: See TracChangeset for help on using the changeset viewer.