X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=src%2Fserver%2Fmap.c;h=2969b6dd4f9d551c40ebd3e7e7879989f0fea635;hb=e03020342a74aef143b1ec38c18966dac64181b5;hp=f46b03e99fc30c1227c1e91636e418039d7fe895;hpb=0255432b4e8d3a7b3aec71c4e43e7fb063c45833;p=plomrogue diff --git a/src/server/map.c b/src/server/map.c index f46b03e..2969b6d 100644 --- a/src/server/map.c +++ b/src/server/map.c @@ -2,7 +2,6 @@ #include "map.h" #include /* uint8_t, uint16_t, uint32_t */ -#include "../common/map.h" /* struct Map */ #include "../common/try_malloc.h" /* try_malloc() */ #include "../common/yx_uint16.h" /* struct yx_uint16 */ #include "rrand.h" /* rrand() */ @@ -13,8 +12,6 @@ extern void init_map() { char * f_name = "init_map()"; - world.map.size.x = 64; - world.map.size.y = 64; uint32_t size = world.map.size.x * world.map.size.y; world.map.cells = try_malloc(size, f_name); uint16_t y, x;