From: Pasi Kallinen Date: Sun, 5 Feb 2017 07:59:56 +0000 (+0200) Subject: Allow changing max name len via hints file X-Git-Tag: NetHack-3.6.1_RC01~527 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0714e38d28720d282903149fe8608191dee1c968;p=nethack Allow changing max name len via hints file --- diff --git a/src/topten.c b/src/topten.c index 84146e9ad..ec689abc4 100644 --- a/src/topten.c +++ b/src/topten.c @@ -30,7 +30,10 @@ static long final_fpos; #define newttentry() (struct toptenentry *) alloc(sizeof (struct toptenentry)) #define dealloc_ttentry(ttent) free((genericptr_t) (ttent)) +#ifndef NAMSZ +/* Changing NAMSZ can break your existing record/logfile */ #define NAMSZ 10 +#endif #define DTHSZ 100 #define ROLESZ 3