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: @(#)save.c 3.4 2002/08/22 */
|
||||
/* SCCS Id: @(#)save.c 3.4 2003/11/14 */
|
||||
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
|
||||
@@ -1109,6 +1109,7 @@ freedynamicdata()
|
||||
if (iflags.wc_font_menu) free(iflags.wc_font_menu);
|
||||
if (iflags.wc_font_status) free(iflags.wc_font_status);
|
||||
if (iflags.wc_tile_file) free(iflags.wc_tile_file);
|
||||
free_autopickup_exceptions();
|
||||
|
||||
#endif /* FREE_ALL_MEMORY */
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user