X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;ds=inline;f=src%2Fserver%2Fmap.c;h=4cce02ae3c5cd08831f96f0d0bb49b5f0224959d;hb=258e57c1621533e206610453047d829cc8aa13fe;hp=c58ff2135e535f7e2ae00ddf0ecd141def5f19a1;hpb=8ecbd583ff7282db315850c16a66782d78cae54f;p=plomrogue
diff --git a/src/server/map.c b/src/server/map.c
index c58ff21..4cce02a 100644
--- a/src/server/map.c
+++ b/src/server/map.c
@@ -1,4 +1,9 @@
-/* src/server/map.c */
+/* src/server/map.c
+ *
+ * This file is part of PlomRogue. PlomRogue is licensed under the GPL version 3
+ * or any later version. For details on its copyright, license, and warranties,
+ * see the file NOTICE in the root directory of the PlomRogue source package.
+ */
#include "map.h"
#include /* uint8_t, int8_t, uint16_t, uint32_t, (U)INT*_(MIN|MAX) */
@@ -199,7 +204,7 @@ extern uint8_t mv_yx_in_dir_legal(char dir, struct yx_uint8 * yx)
}
char * err = "Too much wrapping in mv_yx_in_dir_legal().";
exit_err( INT8_MIN == wrap_west_east || INT8_MIN == wrap_north_south
- || INT8_MAX == wrap_west_east || INT8_MAX == wrap_north_south, err);
+ || INT8_MAX == wrap_west_east || INT8_MAX == wrap_north_south,err);
struct yx_uint8 original = *yx;
mv_yx_in_dir(dir, yx);
if (('e' == dir || 'd' == dir || 'c' == dir) && yx->x < original.x)