1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-04 13:16:16 +00:00

fixed disappear to stop at the correct level

This commit is contained in:
Zeno Rogue 2020-10-26 19:37:42 +01:00
parent 49650ee691
commit 6f8b986d67

View File

@ -686,7 +686,7 @@ void disappear_lines() {
nz++; nz++;
} }
} }
while(nz < well_size + camera_level) { while(nz <= camera_level) {
cell *c0 = get_at(lev, -nz); cell *c0 = get_at(lev, -nz);
c0->wall = waNone; c0->wall = waNone;
nz++; nz++;