X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;ds=sidebyside;f=src%2Fserver%2Fmap_objects.c;h=648631e2723be79c8024fd85611cbee6f17ef494;hb=65efdbea2c5978de283aab627ca62f5a2c983353;hp=5b5bd975cbfe9d382c4313c36be51edc5221d222;hpb=dd9d65ee727ac7e95801da0f8b5bae7009811802;p=plomrogue diff --git a/src/server/map_objects.c b/src/server/map_objects.c index 5b5bd97..648631e 100644 --- a/src/server/map_objects.c +++ b/src/server/map_objects.c @@ -1,6 +1,7 @@ /* src/server/map_objects.c */ #include "map_objects.h" +#include /* NULL */ #include /* FILE typedef */ #include /* uint8_t, uint16_t */ #include /* free(), atoi() */ @@ -48,7 +49,7 @@ static struct MapObj * get_map_object(struct MapObj * ptr, uint8_t id) -static struct yx_uint16 find_passable_pos() // struct Map * map) +static struct yx_uint16 find_passable_pos() { struct yx_uint16 pos; for (pos.y = pos.x = 0; 0 == is_passable(pos);)