git repos / blockattack-game

commit 376f60bb

sago007 · 2017-03-31 20:26
376f60bbc9e44a927f5f5e72d8a7aac7c30d2de8 patch · browse files
parent a2f967dcbccfec7694d073c3f146ce61c2f15293

Removed some outcommented lines

Changed files

M source/code/BlockGame.cpp before
diff --git a/source/code/BlockGame.cpp b/source/code/BlockGame.cpp index 6ff4914..a407b3e 100644 --- a/source/code/BlockGame.cpp +++ b/source/code/BlockGame.cpp
@@ -628,7 +628,6 @@ bool BlockGame::CreateGarbage(int wide, int height) {
if (nextGarbageNumber>999999) {
nextGarbageNumber = 10;
}
- //bGarbageFallLeft = !(bGarbageFallLeft);
return true;
}
return false;
@@ -805,7 +804,6 @@ void BlockGame::ClearBlocks() {
if (board[i][j]!=-1) {
if ((setChain)&&((board[i][j]/GARBAGE)%10!=1)&&((board[i][j]/GARBAGE)%10!=2)) {
board[i][j]=((board[i][j]%CHAINPLACE)+CHAINPLACE*chain);
- //somethingsGottaFall = true;
}
}
}
@@ -893,7 +891,6 @@ void BlockGame::ClearBlocks() {
chainSize[chain]++;
for (int i=0; i<30; i++) {
for (int j=0; j<6; j++) {
- //if(board[j][i]/10==(BLOCKWAIT+10*FALLTIME)/10)
if (toBeCleared[j][i]) {
board[j][i]=(board[j][i]%10000000)+chain*10000000;
}