1
0
Fork 0
mirror of https://codeberg.org/noisytoot/notnotdnethack.git synced 2025-07-28 16:32:27 +01:00

Merge pull request #1105 from NeroOneTrueKing/patch-fix-dumplog-maps

Fix dumplog maps having blank lines
This commit is contained in:
Chris-plus-alphanumericgibberish 2020-09-06 14:21:33 -04:00 committed by GitHub
commit fa7f77b0c1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1602,7 +1602,7 @@ int glyph;
} else if ((offset = (glyph - GLYPH_CMAP_OFF)) >= 0) { /* cmap */
ch = defsyms[offset].sym;
} else if ((offset = (glyph - GLYPH_OBJ_OFF)) >= 0) { /* object */
ch = def_oc_syms[(int)objects[offset].oc_class];
ch = def_oc_syms[(int)objects[offset >> 4].oc_class];
} else if ((offset = (glyph - GLYPH_RIDDEN_OFF)) >= 0) { /* mon ridden */
ch = def_monsyms[(int)mons[offset].mlet];
} else if ((offset = (glyph - GLYPH_BODY_OFF)) >= 0) { /* a corpse */