commit 2f225191
If there are an empty line it is fine. No reason to check hight for grey garbage as the hight is hardcoded to 1.
Changed files
| M | source/code/BlockGame.cpp before |
diff --git a/source/code/BlockGame.cpp b/source/code/BlockGame.cpp
index a94c037..08bd331 100644
--- a/source/code/BlockGame.cpp
+++ b/source/code/BlockGame.cpp
@@ -606,9 +606,6 @@ bool BlockGame::CreateGreyGarbage() {
if (startPosition >= 29) {
return false; //failed to place blocks
}
- if (29-startPosition<1) {
- return false; //not enough space
- }
int start = 0;
int end = 6;
for (int i = startPosition; i <startPosition+1; i++) {