Reset map x/y start/size in single place

This commit is contained in:
Pasi Kallinen
2022-08-02 17:02:25 +03:00
parent 24e94b70d4
commit f4d0e99fad
3 changed files with 15 additions and 18 deletions

View File

@@ -733,10 +733,7 @@ clear_level_structures(void)
stairway_free_all();
g.made_branch = FALSE;
clear_regions();
g.xstart = 1;
g.ystart = 0;
g.xsize = COLNO - 1;
g.ysize = ROWNO;
reset_xystart_size();
if (g.lev_message) {
free(g.lev_message);
g.lev_message = (char *) 0;