diff --git a/include/permonst.h b/include/permonst.h index cbb507e64..9b71c5f69 100644 --- a/include/permonst.h +++ b/include/permonst.h @@ -30,9 +30,9 @@ struct attack { /* Weight of human body, elf, dragon */ -#define WT_HUMAN 1450 -#define WT_ELF 800 -#define WT_DRAGON 4500 +#define WT_HUMAN 1450U +#define WT_ELF 800U +#define WT_DRAGON 4500U #ifndef ALIGN_H #include "align.h" diff --git a/src/hack.c b/src/hack.c index 5e44d2867..9eb1aa791 100644 --- a/src/hack.c +++ b/src/hack.c @@ -2618,7 +2618,9 @@ domove_core(void) nomul(0); } - if (!Levitation && !Flying && !Stealth) + /* your tread on the ground may disturb the slumber of nearby zombies */ + if (!Levitation && !Flying && !Stealth + && gy.youmonst.data->cwt >= (WT_ELF / 2)) disturb_buried_zombies(u.ux, u.uy); if (hides_under(gy.youmonst.data) || gy.youmonst.data->mlet == S_EEL