mondata.c oversight

One recent 'reformatting' change which was more than just source
formatting introduced an unintentional change, turning locomotion
strings from local to mondata.c into global.  Make them be local
again.
This commit is contained in:
PatR
2023-05-28 13:19:53 -07:00
parent 3ccbfc4d6c
commit 6dac3c2183

View File

@@ -1279,13 +1279,13 @@ raceptr(struct monst *mtmp)
}
typedef const char *const locoverbs[4];
locoverbs levitate = { "float", "Float", "wobble", "Wobble" },
flys = { "fly", "Fly", "flutter", "Flutter" },
flyl = { "fly", "Fly", "stagger", "Stagger" },
slither = { "slither", "Slither", "falter", "Falter" },
ooze = { "ooze", "Ooze", "tremble", "Tremble" },
immobile = { "wiggle", "Wiggle", "pulsate", "Pulsate" },
crawl = { "crawl", "Crawl", "falter", "Falter" };
static locoverbs levitate = { "float", "Float", "wobble", "Wobble" },
flys = { "fly", "Fly", "flutter", "Flutter" },
flyl = { "fly", "Fly", "stagger", "Stagger" },
slither = { "slither", "Slither", "falter", "Falter" },
ooze = { "ooze", "Ooze", "tremble", "Tremble" },
immobile = { "wiggle", "Wiggle", "pulsate", "Pulsate" },
crawl = { "crawl", "Crawl", "falter", "Falter" };
const char *
locomotion(const struct permonst *ptr, const char *def)