X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=src%2Fserver%2Ffield_of_view.c;h=95b26d49bcd5ca5555894eabf32c13a489552476;hb=85cd980ab5f84ea2d1979ea39af6d230b2788120;hp=ad58a191c3194664c0eed365dc29e6cca6a52222;hpb=0438f2fc5df337e4264103a86c1765ace9c6565a;p=plomrogue diff --git a/src/server/field_of_view.c b/src/server/field_of_view.c index ad58a19..95b26d4 100644 --- a/src/server/field_of_view.c +++ b/src/server/field_of_view.c @@ -8,7 +8,7 @@ #include "../common/rexit.h" /* exit_trouble() */ #include "../common/try_malloc.h" /* try_malloc() */ #include "map.h" /* yx_to_map_pos() */ -#include "map_objects.h" /* MapObj */ +#include "things.h" /* Thing */ #include "yx_uint8.h" /* yx_uint8 */ #include "world.h" /* global world */ @@ -557,7 +557,7 @@ static void set_view_of_cell_and_shadows(struct yx_uint8 * yx_cell, -extern uint8_t * build_fov_map(struct MapObj * eye) +extern uint8_t * build_fov_map(struct Thing * eye) { char * f_name = "build_fov_map()"; uint8_t radius = 2 * world.map.length;