diff options
Diffstat (limited to 'src/map/map.c')
-rw-r--r-- | src/map/map.c | 4 |
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; |