X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;ds=inline;f=src%2Fserver%2Ffield_of_view.c;h=e279babae9d1dce791d107054cd8792717b7dec2;hb=cf0d81ea863df7adb1bdd862708571b0e40a73cb;hp=3d86402fe3c4f60aebc355e41c7e994271daf95a;hpb=f6615d3be438bbca4997c38c546c0d8724da80d4;p=plomrogue
diff --git a/src/server/field_of_view.c b/src/server/field_of_view.c
index 3d86402..e279bab 100644
--- a/src/server/field_of_view.c
+++ b/src/server/field_of_view.c
@@ -9,7 +9,6 @@
#include "../common/yx_uint8.h" /* yx_uint8 */
#include "map.h" /* mv_yx_in_dir_legal() */
#include "things.h" /* Thing, ThingInMemory, add_thing_to_memory_map() */
-#include "yx_uint8.h" /* mv_yx_in_dir_wrap(), */
#include "world.h" /* world */
@@ -345,7 +344,7 @@ extern void build_fov_map(struct Thing * t)
}
}
}
- mv_yx_in_dir_wrap(0, NULL, 1);
+ mv_yx_in_dir_legal(0, NULL);
free_angles(shadows);
update_map_memory(t, map_size);
}