From 356b48e28cff4f434b1e23950b6faa747eac4ea1 Mon Sep 17 00:00:00 2001 From: amber Date: Thu, 18 Nov 2004 04:52:49 +0000 Subject: [PATCH] Fixed crash git-svn-id: https://svn.code.sf.net/p/rathena/svn/athena@240 54d463be-8e91-2dee-dedb-b68131a5f0ec --- Changelog.txt | 4 +++- src/map/map.c | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Changelog.txt b/Changelog.txt index 88edac72e8..fe13502fda 100644 --- a/Changelog.txt +++ b/Changelog.txt @@ -1,5 +1,7 @@ Date Added -11/17 * Added skill_steal_type to battle_athena.conf for the new (but unconfirmed) +11/17 + * Fixed a crash in the afm reading/closing code [MouseJstr] + * Added skill_steal_type to battle_athena.conf for the new (but unconfirmed) stealing formula [celest] * Skill updates: [celest] - Removed annoying skill fail messages from rogue's Snatcher diff --git a/src/map/map.c b/src/map/map.c index 7ecc3eb2ac..755069b805 100644 --- a/src/map/map.c +++ b/src/map/map.c @@ -1642,6 +1642,7 @@ int map_readallmap(void) { } } } + if (afm_file != NULL) fclose(afm_file); }