summaryrefslogtreecommitdiff
path: root/src/map/map.c
diff options
context:
space:
mode:
authormc_cameri <mc_cameri@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-28 04:07:07 +0000
committermc_cameri <mc_cameri@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-28 04:07:07 +0000
commit27e211016b4dd484ac0a2ec8038ef60a59a07261 (patch)
tree52f5baf8892945442d2aabddb61ade0f0d153a37 /src/map/map.c
parent2be730b2cd3503eac660ae456e569cd3aa8c778a (diff)
downloadhercules-27e211016b4dd484ac0a2ec8038ef60a59a07261.tar.gz
hercules-27e211016b4dd484ac0a2ec8038ef60a59a07261.tar.bz2
hercules-27e211016b4dd484ac0a2ec8038ef60a59a07261.tar.xz
hercules-27e211016b4dd484ac0a2ec8038ef60a59a07261.zip
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@830 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/map.c')
-rw-r--r--src/map/map.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/map.c b/src/map/map.c
index fc2049724..d6f6d72fa 100644
--- a/src/map/map.c
+++ b/src/map/map.c
@@ -1886,13 +1886,13 @@ static int map_readmap(int m,char *fn, char *alias, int *map_cache, int maxmap)
unsigned char *gat="";
size_t size;
- int i;
+ int i = 0;
int e = 0;
char progress[21] = " ";
//printf("\rLoading Maps [%d/%d]: %-50s ",m,map_num,fn);
if (map_num) { //avoid map-server crashing if there are 0 maps
- char c;
+ char c = '-';
static int lasti = -1;
static int last_time = -1;
i=m*20/maxmap;