From 3096da48fec09f322be7c3b8091dd06a08c32c23 Mon Sep 17 00:00:00 2001 From: Housebot Date: Sun, 31 May 2026 11:21:25 -0600 Subject: [PATCH] libnh: export GLYPH_PILETOP_OFF constant Expose GLYPH_PILETOP_OFF in libnh JS constants so embedding apps can distinguish statue glyphs from piletop glyphs. --- sys/libnh/libnhmain.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/libnh/libnhmain.c b/sys/libnh/libnhmain.c index 67b38e4e0..acdea170e 100644 --- a/sys/libnh/libnhmain.c +++ b/sys/libnh/libnhmain.c @@ -1092,6 +1092,7 @@ void js_constants_init() { SET_CONSTANT("GLYPH", GLYPH_SWALLOW_OFF); SET_CONSTANT("GLYPH", GLYPH_WARNING_OFF); SET_CONSTANT("GLYPH", GLYPH_STATUE_OFF); + SET_CONSTANT("GLYPH", GLYPH_PILETOP_OFF); SET_CONSTANT("GLYPH", GLYPH_UNEXPLORED_OFF); SET_CONSTANT("GLYPH", GLYPH_NOTHING_OFF); SET_CONSTANT("GLYPH", MAX_GLYPH);