Browse Source

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@691 54d463be-8e91-2dee-dedb-b68131a5f0ec

ajarn 20 years ago
parent
commit
7f640f7faa
2 changed files with 2 additions and 0 deletions
  1. 1 0
      Changelog.txt
  2. 1 0
      src/map/map.c

+ 1 - 0
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]

+ 1 - 0
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);