Move mtrack push and clear to separate functions

This commit is contained in:
Pasi Kallinen
2022-07-16 18:43:22 +03:00
parent fcbeed21cc
commit 94c1e94d20
7 changed files with 28 additions and 17 deletions

View File

@@ -1313,7 +1313,7 @@ rloc_to_core(
}
}
memset(mtmp->mtrack, 0, sizeof mtmp->mtrack);
mon_track_clear(mtmp);
place_monster(mtmp, x, y); /* put monster down */
update_monster_region(mtmp);