terminate eating if pet falls asleep or becomes paralyzed (trunk only)
From a bug report: sleeping pet could be shown as "eating" by stethoscope. Fixing that is a one-liner since all (or should be all; sleeping gas trap wasn't utilizing it) cases of monster being forced into sleep go through one routine. That wasn't the situation for paralysis, but now it is. Paralyzed pets won't continue eating either.
This commit is contained in:
@@ -1002,6 +1002,7 @@ E int FDECL(mattackm, (struct monst *,struct monst *));
|
||||
#ifdef BARGETHROUGH
|
||||
E int FDECL(mdisplacem, (struct monst *,struct monst *,BOOLEAN_P));
|
||||
#endif
|
||||
E void FDECL(paralyze_monst, (struct monst *,int));
|
||||
E int FDECL(sleep_monst, (struct monst *,int,int));
|
||||
E void FDECL(slept_monst, (struct monst *));
|
||||
E long FDECL(attk_protection, (int));
|
||||
|
||||
Reference in New Issue
Block a user