smallStreet bigStreet fix

main
s.eser 2024-04-30 11:10:24 +02:00
parent 8f6a1b010d
commit 5f6e3a21a0
2 changed files with 5 additions and 4 deletions

Binary file not shown.

View File

@ -139,16 +139,17 @@ public class Box {
} }
for (int i = 0; i < 6; i++) { for (int i = 0; i < 5; i++) {
if (counter[i] >= 1 && counter[i + 1] >= 1 && counter[i + 2] >= 1) if (counter[i] >= 1 && counter[i + 1] >= 1 && counter[i + 2] >= 1 && counter[i + 3] >= 1)
categorySmallStreet = 30; categorySmallStreet = 30;
} }
for (int i = 0; i < 5; i++) {
if (counter[i] >= 1 && counter[i + 1] >= 1 && counter[i + 2] >= 1 && counter[i + 3] >= 1) for (int i = 0; i < 4; i++) {
if (counter[i] == 1 && counter[i + 1] == 1 && counter[i + 2] == 1 && counter[i + 3] == 1 && counter[i + 3] == 1)
categoryBigStreet = 40; categoryBigStreet = 40;
} }