diff options
Diffstat (limited to 'src/map/map.c')
-rw-r--r-- | src/map/map.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/map/map.c b/src/map/map.c index f3106668e..507c36b1c 100644 --- a/src/map/map.c +++ b/src/map/map.c @@ -3057,7 +3057,11 @@ int map_readallmaps (void) map[i].bxs = (map[i].xs + BLOCK_SIZE - 1) / BLOCK_SIZE; map[i].bys = (map[i].ys + BLOCK_SIZE - 1) / BLOCK_SIZE; - + + // default experience multiplicator + map[i].jexp = 100; + map[i].bexp = 100; + size = map[i].bxs * map[i].bys * sizeof(struct block_list*); map[i].block = (struct block_list**)aCalloc(size, 1); map[i].block_mob = (struct block_list**)aCalloc(size, 1); |