* Closed AFM files after reading, this fixed the improper char-server session #. [Valaris]
git-svn-id: https://svn.code.sf.net/p/rathena/svn/athena@297 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
4ddb73bb71
commit
0aa5b80380
@ -1,5 +1,6 @@
|
|||||||
Date Added
|
Date Added
|
||||||
11/21
|
11/21
|
||||||
|
* Closed AFM files after reading, this fixed the improper char-server session #. [Valaris]
|
||||||
* Skill updates: [Celest]
|
* Skill updates: [Celest]
|
||||||
- Updated Basilica, Sharp Shooting, Berserk, Meditatio (Thanks to DracoRPG!)
|
- Updated Basilica, Sharp Shooting, Berserk, Meditatio (Thanks to DracoRPG!)
|
||||||
- Fixed a typo with Blade Stop that was causing crashes, sorry. ^^;
|
- Fixed a typo with Blade Stop that was causing crashes, sorry. ^^;
|
||||||
|
@ -1480,6 +1480,9 @@ static int map_readafm(int m,char *fn) {
|
|||||||
afm_file = fopen(fn, "r");
|
afm_file = fopen(fn, "r");
|
||||||
if (afm_file != NULL) {
|
if (afm_file != NULL) {
|
||||||
|
|
||||||
|
printf("\rLoading Maps [%d/%d]: %-50s ",m,map_num,fn);
|
||||||
|
fflush(stdout);
|
||||||
|
|
||||||
str=fgets(afm_line, sizeof(afm_line)-1, afm_file);
|
str=fgets(afm_line, sizeof(afm_line)-1, afm_file);
|
||||||
str=fgets(afm_line, sizeof(afm_line)-1, afm_file);
|
str=fgets(afm_line, sizeof(afm_line)-1, afm_file);
|
||||||
str=fgets(afm_line, sizeof(afm_line)-1, afm_file);
|
str=fgets(afm_line, sizeof(afm_line)-1, afm_file);
|
||||||
@ -1541,7 +1544,11 @@ static int map_readafm(int m,char *fn) {
|
|||||||
memset(map[m].block_mob_count,0,size);
|
memset(map[m].block_mob_count,0,size);
|
||||||
|
|
||||||
strdb_insert(map_db,map[m].name,&map[m]);
|
strdb_insert(map_db,map[m].name,&map[m]);
|
||||||
|
|
||||||
|
fclose(afm_file);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user