]> granicus.if.org Git - nethack/commitdiff
follow-up to tilemap.c change
authornhmall <nhmall@nethack.org>
Tue, 1 Feb 2022 22:18:44 +0000 (17:18 -0500)
committernhmall <nhmall@nethack.org>
Tue, 1 Feb 2022 22:18:44 +0000 (17:18 -0500)
win/share/tilemap.c

index 5d35ac82877356cf46fa3799bc3116c8aa5a0385..f22138d0e20d4ee907336fa6db2dee428c60bdaa 100644 (file)
@@ -1338,8 +1338,8 @@ main(int argc UNUSED, char *argv[] UNUSED)
     Fprintf(ofp, "%sTile_corr = %d,\n", indent, TILE_corr);       /* X11 references it */
     Fprintf(ofp, "%sTile_stone = %d,\n",  indent, TILE_stone);
     Fprintf(ofp, "%sTile_unexplored = %d;\n",  indent, TILE_unexplored);
-    Fprintf(ofp, "%smaxmontile = %d;\n", indent, lastmontile);
-    Fprintf(ofp, "%smaxobjtile = %d;\n", indent, lastobjtile);
+    Fprintf(ofp, "int maxmontile = %d,\n", lastmontile);
+    Fprintf(ofp, "%smaxobjtile = %d,\n", indent, lastobjtile);
     Fprintf(ofp, "%smaxothtile = %d;\n\n", indent, lastothtile);
     Fprintf(ofp,
       "/* glyph, ttychar, { color, symidx, ovidx, glyphflags, tileidx} */\n");