From 1df377b9519427da68f3cccc24cabfce68e7de3f Mon Sep 17 00:00:00 2001 From: Pasi Kallinen Date: Wed, 17 Jun 2015 13:43:59 +0300 Subject: [PATCH] Lights are floaters From Boudewijn: > y a light (tame yellow light called Snertkat) [seen: normal vision, > infravision] > Snertkat deliberately jumps onto a polymorph trap! So make yellow and black lights floaters. --- include/mondata.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/mondata.h b/include/mondata.h index b3bdb27e4..7f62258a5 100644 --- a/include/mondata.h +++ b/include/mondata.h @@ -22,7 +22,7 @@ #define is_lminion(mon) \ (is_minion((mon)->data) && mon_aligntyp(mon) == A_LAWFUL) #define is_flyer(ptr) (((ptr)->mflags1 & M1_FLY) != 0L) -#define is_floater(ptr) ((ptr)->mlet == S_EYE) +#define is_floater(ptr) ((ptr)->mlet == S_EYE || (ptr)->mlet == S_LIGHT) #define is_clinger(ptr) (((ptr)->mflags1 & M1_CLING) != 0L) #define is_swimmer(ptr) (((ptr)->mflags1 & M1_SWIM) != 0L) #define breathless(ptr) (((ptr)->mflags1 & M1_BREATHLESS) != 0L)