X-Git-Url: https://plomlompom.com/repos/index.html?a=blobdiff_plain;f=src%2Fserver%2Ffield_of_view.c;h=afb25f543f52f64c4a1dffb8585d53c39c089285;hb=bfd1888150ed5345fb4552ccaa8f304ae4819980;hp=c92c11a86ec637b0248ebbaf5b1ad68e354fea9e;hpb=639a12151eeb7ce0d18de330b4bb8d9d8094c4d3;p=plomrogue
diff --git a/src/server/field_of_view.c b/src/server/field_of_view.c
index c92c11a..afb25f5 100644
--- a/src/server/field_of_view.c
+++ b/src/server/field_of_view.c
@@ -23,9 +23,6 @@ enum wraps
WRAP_W = 0x08
};
-/* Transform "yx" to an index position in the world map. */
-//static uint16_t yx_to_pos(struct yx_uint8 * yx);
-
/* Move "yx" into hex direction "d". If this moves "yx" beyond the minimal (0)
* or maximal (UINT8_MAX) column or row, it wraps to the opposite side. Such
* wrapping is returned as a wraps enum value and stored, so that further calls