Tetris: end game at the correct failpoint #421

pull/426/head
nick black 4 years ago
parent d491d532bb
commit d120e74580
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -4,7 +4,7 @@ bool MoveDown() {
int y, x;
if(PrepForMove(&y, &x)){
if(PieceStuck()){
if(y <= board_top_y_ - 2){
if(y <= board_top_y_ - 1){
return true;
}
curpiece_->mergedown(*board_);

Loading…
Cancel
Save