diff options
-rw-r--r-- | Changelog.txt | 1 | ||||
-rw-r--r-- | src/map/map.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/Changelog.txt b/Changelog.txt index ce1eecf50..ff01304cd 100644 --- a/Changelog.txt +++ b/Changelog.txt @@ -1,6 +1,7 @@ Date Added 12/20 + * Fixed map loading. If a map was not found, it would remove the next map in the list [Ajarn] * Moddified some *_athena.conf's (my typos and some inncorect default values) [Ajarn] * Added Valaris' double connection bug fix (imalive watchdog) [Valaris] * Fixed map-server exiting when it came across a bad NPC file [Codemaster] diff --git a/src/map/map.c b/src/map/map.c index 2327ef7df..134250cdb 100644 --- a/src/map/map.c +++ b/src/map/map.c @@ -1704,6 +1704,7 @@ int map_readallmap(void) { if(map_readmap(i,fn, p) == -1) { map_delmap(map[i].name); maps_removed++; + i--; } else { if (last_time != time(0)) { last_time = time(0); |