autopickup exceptions
External names longer than 31 characters trigger a compiler warning for me about truncation, and that causes make to quit. So shorten the two long names. Also, call the cleanup routine for the FREE_ALL_MEMORY configuration.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* SCCS Id: @(#)files.c 3.4 2003/02/18 */
|
||||
/* SCCS Id: @(#)files.c 3.4 2003/11/14 */
|
||||
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
|
||||
@@ -1745,7 +1745,7 @@ char *tmp_levels;
|
||||
plnamesuffix(); /* set the character class */
|
||||
#ifdef AUTOPICKUP_EXCEPTIONS
|
||||
} else if (match_varname(buf, "AUTOPICKUP_EXCEPTION", 5)) {
|
||||
add_autopickup_exception_mapping(bufp);
|
||||
add_autopickup_exception(bufp);
|
||||
#endif
|
||||
#ifdef NOCWD_ASSUMPTIONS
|
||||
} else if (match_varname(buf, "HACKDIR", 4)) {
|
||||
|
||||
Reference in New Issue
Block a user