fix bug
This commit is contained in:
1 parent
470d00bbe1
commit
849749b6bb
1 file changed
+1
-1
+1
-1
@@ -74,7 +74,7 @@ impl Level {
|
||||
break;
|
||||
}
|
||||
}
|
||||
for y_r in y..=min(y + 2, LEVEL_WIDTH - 1) {
|
||||
for y_r in y..=min(y + 2, LEVEL_HEIGHT - 1) {
|
||||
self.discovered[x][y_r] = true;
|
||||
if self.structure[x][y_r] == LevelElement::Wall {
|
||||
break;
|
||||
|
||||
Reference in new issue
Block a user