From 52141ce87ffdbbca1e625c8876e605b3975c2d3f Mon Sep 17 00:00:00 2001 From: cohrs Date: Wed, 30 Jan 2002 04:51:40 +0000 Subject: [PATCH] medium and large flyers do not flutter --- src/mondata.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/mondata.c b/src/mondata.c index a3ebe0789..58a237117 100644 --- a/src/mondata.c +++ b/src/mondata.c @@ -606,7 +606,8 @@ int montype; } static const char *levitate[4] = { "float", "Float", "wobble", "Wobble" }; -static const char *fly[4] = { "fly", "Fly", "flutter", "Flutter" }; +static const char *flys[4] = { "fly", "Fly", "flutter", "Flutter" }; +static const char *flyl[4] = { "fly", "Fly", "stagger", "Stagger" }; static const char *slither[4] = { "slither", "Slither", "falter", "Falter" }; static const char *ooze[4] = { "ooze", "Ooze", "tremble", "Tremble" }; static const char *immobile[4] = { "wiggle", "Wiggle", "pulsate", "Pulsate" }; @@ -621,7 +622,8 @@ const char *def; return ( is_floater(ptr) ? levitate[capitalize] : - is_flyer(ptr) ? fly[capitalize] : + (is_flyer(ptr) && ptr->msize <= MZ_SMALL) ? flys[capitalize] : + (is_flyer(ptr) && ptr->msize > MZ_SMALL) ? flyl[capitalize] : slithy(ptr) ? slither[capitalize] : amorphous(ptr) ? ooze[capitalize] : !ptr->mmove ? immobile[capitalize] : @@ -640,7 +642,8 @@ const char *def; return ( is_floater(ptr) ? levitate[capitalize] : - is_flyer(ptr) ? fly[capitalize] : + (is_flyer(ptr) && ptr->msize <= MZ_SMALL) ? flys[capitalize] : + (is_flyer(ptr) && ptr->msize > MZ_SMALL) ? flyl[capitalize] : slithy(ptr) ? slither[capitalize] : amorphous(ptr) ? ooze[capitalize] : !ptr->mmove ? immobile[capitalize] :