for (i = 0; i < MAXOTHER; i++) {
if (i == SYM_BOULDER)
- showsyms[i + SYM_OFF_X] = iflags.bouldersym;
+ showsyms[i + SYM_OFF_X] = iflags.bouldersym ? iflags.bouldersym : def_oc_syms[ROCK_CLASS].sym;
else if (i == SYM_INVISIBLE)
showsyms[i + SYM_OFF_X] = DEF_INVISIBLE;
}
for (i = 0; i < MAXOTHER; i++) {
if (i == SYM_BOULDER)
- l_syms[i + SYM_OFF_X] = iflags.bouldersym;
+ l_syms[i + SYM_OFF_X] = iflags.bouldersym ? iflags.bouldersym : def_oc_syms[ROCK_CLASS].sym;
else if (i == SYM_INVISIBLE)
l_syms[i + SYM_OFF_X] = DEF_INVISIBLE;
}
for (i = 0; i < MAXOTHER; i++) {
if (i == SYM_BOULDER)
- r_syms[i + SYM_OFF_X] = iflags.bouldersym;
+ r_syms[i + SYM_OFF_X] = iflags.bouldersym ? iflags.bouldersym : def_oc_syms[ROCK_CLASS].sym;
else if (i == SYM_INVISIBLE)
r_syms[i + SYM_OFF_X] = DEF_INVISIBLE;
}