fix #H5853 - carrots don't cure blind pets
Report was for a blinded horse which ate a carrot but remained blind. This fixes that, and also lets blinded carnivorous pets eat carrots. Gelatinous cubes now handle carrots too, but since they lack eyses there won't be any noticeable effect for them.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* NetHack 3.6 extern.h $NHDT-Date: 1501725402 2017/08/03 01:56:42 $ $NHDT-Branch: NetHack-3.6.0 $:$NHDT-Revision: 1.598 $ */
|
||||
/* NetHack 3.6 extern.h $NHDT-Date: 1502753404 2017/08/14 23:30:04 $ $NHDT-Branch: NetHack-3.6.0 $:$NHDT-Revision: 1.600 $ */
|
||||
/* Copyright (c) Steve Creps, 1988. */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
|
||||
@@ -1563,6 +1563,7 @@ E int FDECL(rnd_misc_item, (struct monst *));
|
||||
E boolean FDECL(searches_for_item, (struct monst *, struct obj *));
|
||||
E boolean FDECL(mon_reflects, (struct monst *, const char *));
|
||||
E boolean FDECL(ureflects, (const char *, const char *));
|
||||
E void FDECL(mcureblindness, (struct monst *, BOOLEAN_P));
|
||||
E boolean FDECL(munstone, (struct monst *, BOOLEAN_P));
|
||||
E boolean FDECL(munslime, (struct monst *, BOOLEAN_P));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user