From: Christian Heller Date: Wed, 15 Oct 2014 01:33:23 +0000 (+0200) Subject: Fix code line lengths. X-Git-Tag: tce~623 X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/%7B%7Btodo.comment%7D%7D?a=commitdiff_plain;h=a98069786c81fe3ece3f4f1472877dd31bbccd90;p=plomrogue Fix code line lengths. --- diff --git a/src/server/map.c b/src/server/map.c index 833ff98..4cce02a 100644 --- a/src/server/map.c +++ b/src/server/map.c @@ -204,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) diff --git a/src/server/things.h b/src/server/things.h index 0f20fd9..03b52d8 100644 --- a/src/server/things.h +++ b/src/server/things.h @@ -110,9 +110,9 @@ extern struct Thing * get_thing(struct Thing * ptr, uint8_t id, uint8_t deep); */ extern struct Thing * get_player(); -/* Try to create "t" offspring on random passable neighbor cell if available (and, - * if "t" is of animate thing type, not inhabited by animate thing) and "t"'s - * type's .proliferation is >0, with a chance of 1/.proliferation. +/* Try to create "t" offspring on random passable neighbor cell if available + * (and, if "t" is of animate thing type, not inhabited by animate thing) and + * "t"'s type's .proliferation is >0, with a chance of 1/.proliferation. */ extern void try_thing_proliferation(struct Thing * t);