diff options
author | mc_cameri <mc_cameri@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2004-12-28 04:07:07 +0000 |
---|---|---|
committer | mc_cameri <mc_cameri@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2004-12-28 04:07:07 +0000 |
commit | 27e211016b4dd484ac0a2ec8038ef60a59a07261 (patch) | |
tree | 52f5baf8892945442d2aabddb61ade0f0d153a37 /src/map | |
parent | 2be730b2cd3503eac660ae456e569cd3aa8c778a (diff) | |
download | hercules-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')
-rw-r--r-- | src/map/map.c | 4 | ||||
-rw-r--r-- | src/map/map.h | 2 |
2 files changed, 3 insertions, 3 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; diff --git a/src/map/map.h b/src/map/map.h index cb8438352..ccedaacaf 100644 --- a/src/map/map.h +++ b/src/map/map.h @@ -10,7 +10,7 @@ #define PC_CLASS_BASE2 (PC_CLASS_BASE + 4001) #define PC_CLASS_BASE3 (PC_CLASS_BASE2 + 22) #define MAX_NPC_PER_MAP 512 -#define BLOCK_SIZE 8 +#define BLOCK_SIZE 8 // Never zero #define AREA_SIZE battle_config.area_size #define LOCAL_REG_NUM 16 #define LIFETIME_FLOORITEM 60 |