From 6bbf7c944469d50c96f62bfa5516c1f8d384a240 Mon Sep 17 00:00:00 2001 From: Pasi Kallinen Date: Thu, 18 Jun 2015 20:18:39 +0300 Subject: [PATCH] Fix boulder symbol changing Boulder symbol could not be changed in config file with "SYMBOLS=S_boulder:0" because the glyph code was checking iflags.bouldersym; that is only set if boulder symbol is changed with the deprecated "OPTIONS=boulder:0" way. --- src/mapglyph.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mapglyph.c b/src/mapglyph.c index 23c582762..8015fa0de 100644 --- a/src/mapglyph.c +++ b/src/mapglyph.c @@ -135,7 +135,7 @@ unsigned *ospecial; cmap_color(offset); } else if ((offset = (glyph - GLYPH_OBJ_OFF)) >= 0) { /* object */ idx = objects[offset].oc_class + SYM_OFF_O; - if (offset == BOULDER && iflags.bouldersym) + if (offset == BOULDER) idx = SYM_BOULDER + SYM_OFF_X; if (has_rogue_color && iflags.use_color) { switch (objects[offset].oc_class) {