]> granicus.if.org Git - nethack/commitdiff
Fix status hilites parsing from config file
authorPasi Kallinen <paxed@alt.org>
Wed, 25 Oct 2017 06:59:17 +0000 (09:59 +0300)
committerPasi Kallinen <paxed@alt.org>
Wed, 25 Oct 2017 06:59:17 +0000 (09:59 +0300)
src/botl.c

index ca6c494cfc1102a9aee05b5d8c2af090496b9814..df45de8395db4d49d587c93abaa80046a6474527 100644 (file)
@@ -1794,7 +1794,7 @@ boolean from_configfile;
             numeric = TRUE;
             tmp = tmpbuf;
             if (strlen(tmp) > 0) {
-                dt = blstats[0][fld].anytype;
+                dt = initblstats[fld].anytype;
                 if (percent)
                     dt = ANY_INT;
                 (void) s_to_anything(&hilite.value, tmp, dt);