fix #K4113 - OPTIONS=symset:blank in RC file
Any plain text symbol set specified in .nethackrc or NETHACKOPTIONS didn't get loaded but did set the symset name. Faulty 'if' logic excluded loading of symbol sets that used the default handling type of H_UNK.
This commit is contained in:
@@ -1879,6 +1879,8 @@ Warning didn't show nearby monsters who were inside poison gas/steam/smoke
|
||||
map didn't show adjacent monsters if they were inside a gas region unless
|
||||
they were seen via telepathy or extended monster detection, but they
|
||||
were described as if visible in messages (combat, for instance)
|
||||
OPTIONS=symset:blank and symset:plain didn't load the specified symbols if
|
||||
used from the RC file or NETHACKOPTIONS
|
||||
|
||||
|
||||
Fixes to 3.7.0-x Platform and/or Interface Problems Exposed Via git Repository
|
||||
|
||||
@@ -4058,9 +4058,9 @@ optfn_symset(
|
||||
load_symset("default", PRIMARYSET);
|
||||
}
|
||||
#endif
|
||||
switch_symbols(gs.symset[PRIMARYSET].name != (char *) 0);
|
||||
go.opt_need_redraw = go.opt_need_glyph_reset = TRUE;
|
||||
}
|
||||
switch_symbols(gs.symset[PRIMARYSET].name != (char *) 0);
|
||||
go.opt_need_redraw = go.opt_need_glyph_reset = TRUE;
|
||||
}
|
||||
} else
|
||||
return optn_err;
|
||||
|
||||
Reference in New Issue
Block a user