Reveal branch stairs only after traversing them
This commit is contained in:
@@ -894,6 +894,7 @@ rest_stairs(NHFILE* nhfp)
|
||||
int buflen = 0;
|
||||
stairway stway = UNDEFINED_VALUES;
|
||||
int len = 0;
|
||||
stairway *newst;
|
||||
|
||||
stairway_free_all();
|
||||
while (1) {
|
||||
@@ -915,6 +916,9 @@ rest_stairs(NHFILE* nhfp)
|
||||
}
|
||||
stairway_add(stway.sx, stway.sy, stway.up, stway.isladder,
|
||||
&(stway.tolev));
|
||||
newst = stairway_at(stway.sx, stway.sy);
|
||||
if (newst)
|
||||
newst->u_traversed = stway.u_traversed;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user