Update falling/src/main.rs
This commit is contained in:
parent
bd051d24a8
commit
d7e4816e05
@ -112,7 +112,7 @@ fn generate_level(level_to_generate: u64, difficulty: i8, left_wall: &mut i16, r
|
||||
else if i == *left_wall-1 && left_wall_change < 0 {
|
||||
new_level[i as usize] = -2;
|
||||
}
|
||||
// If it’s not on the left wall, mark the space with another value (-3) which is a straight
|
||||
// If it's not on the left wall, mark the space with another value (-3) which is a straight
|
||||
// wall "|".
|
||||
else {
|
||||
new_level[i as usize] = -3;
|
||||
|
Loading…
Reference in New Issue
Block a user