Fix priests and shopkeepers moving on other monsters

This commit is contained in:
Pasi Kallinen
2019-10-11 20:24:17 +03:00
parent ab30c3d79d
commit 46adb312e7
2 changed files with 3 additions and 0 deletions

View File

@@ -118,6 +118,8 @@ pick_move:
}
if (nix != omx || niy != omy) {
if (MON_AT(nix, niy))
return 0;
remove_monster(omx, omy);
place_monster(mtmp, nix, niy);
newsym(nix, niy);