X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;f=src%2Fserver%2Ffield_of_view.c;h=95b26d49bcd5ca5555894eabf32c13a489552476;hb=d92f16d5959fc846d3eaf669517eecb3969cda08;hp=ad58a191c3194664c0eed365dc29e6cca6a52222;hpb=273161a3d8956e98308a79169dcf7c70a89992fe;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;