Fix wizmakemap calling mklev twice

This commit is contained in:
Pasi Kallinen
2019-11-20 21:08:35 +02:00
parent 791657f4e6
commit a338f8bd88
-4
View File
@@ -839,10 +839,6 @@ boolean pre, wiztower;
zero_nhfile(&tmpnhfp); /* also sets fd to -1 as desired */ zero_nhfile(&tmpnhfp); /* also sets fd to -1 as desired */
tmpnhfp.mode = FREEING; tmpnhfp.mode = FREEING;
savelev(&tmpnhfp, ledger_no(&u.uz)); savelev(&tmpnhfp, ledger_no(&u.uz));
/* create a new level; various things like bestowing a guardian
angel on Astral or setting off alarm on Ft.Ludios are handled
by goto_level(do.c) so won't occur for replacement levels */
mklev();
} else { } else {
vision_reset(); vision_reset();
g.vision_full_recalc = 1; g.vision_full_recalc = 1;