Remove overview for wizmode regenerated map

The wizmakemap command throws away the current level, so don't keep
the overview data for it around.
This commit is contained in:
Pasi Kallinen
2017-09-15 14:45:51 +03:00
parent 782db48fb5
commit 52ed881b2c
3 changed files with 35 additions and 0 deletions

View File

@@ -626,6 +626,7 @@ wiz_makemap(VOID_ARGS)
if (wizard) {
struct monst *mtmp;
rm_mapseen(ledger_no(&u.uz));
for (mtmp = fmon; mtmp; mtmp = mtmp->nmon)
if (mtmp->isshk)
setpaid(mtmp);