mirror of
https://codeberg.org/noisytoot/notnotdnethack.git
synced 2025-05-04 22:35:13 +01:00
Bugfix: Don't override player's configured ghost symbol
assign_graphics() was setting the ghost symbol to the lit room symbol, so it looked consistent with the floor if you are using a symset with a fancy floor symbol (like UTF8graphics). This was overriding the player's configured ghost symbol. Instead, only set it if it's currently set to the default.
This commit is contained in:
parent
3a7c8bc6d6
commit
794200f199
1 changed files with 1 additions and 1 deletions
|
@ -997,7 +997,7 @@ int glth, maxlen, offset;
|
|||
for (i = 0; i < maxlen; i++)
|
||||
showsyms[i+offset] = (((i < glth) && graph_chars[i]) ?
|
||||
graph_chars[i] : defsyms[i+offset].sym);
|
||||
monsyms[S_GHOST] = showsyms[S_litroom];
|
||||
if (monsyms[S_GHOST] == DEF_GHOST) monsyms[S_GHOST] = showsyms[S_litroom];
|
||||
}
|
||||
|
||||
#ifdef USER_DUNGEONCOLOR
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue