handle 0 in DUNGEONS et al

As suggested by <Someone>, treat 0 entries in the various graphics symbol
specifications as leaving the value unchanged.
This commit is contained in:
cohrs
2002-08-13 04:18:46 +00:00
parent 5d5de0c657
commit dee94b0410
5 changed files with 33 additions and 15 deletions

View File

@@ -831,7 +831,7 @@ register uchar *graph_chars;
{
int i;
for (i = 0; i < WARNCOUNT; i++)
warnsyms[i] = graph_chars[i];
if (graph_chars[i]) warnsyms[i] = graph_chars[i];
}
STATIC_OVL int