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.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user