diff options
Diffstat (limited to 'src/namegen.cpp')
-rw-r--r-- | src/namegen.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/namegen.cpp b/src/namegen.cpp index 6ed465644..db213ad17 100644 --- a/src/namegen.cpp +++ b/src/namegen.cpp @@ -22,8 +22,8 @@ static inline uint32 SeedModChance(int shift_by, int max, uint32 seed) * SeedChance() and SeedModChance(). Do not get dicouraged by the * never-use-modulo myths, which hold true only for the linear * congruential generators (and Random() isn't such a generator). - * --pasky */ - // TODO: Perhaps we should use it for all the name generators? --pasky + * --pasky + * TODO: Perhaps we should use it for all the name generators? --pasky */ return (seed >> shift_by) % max; } @@ -361,8 +361,8 @@ static byte MakePolishTownName(char *buf, uint32 seed, const char *last) static byte MakeCzechTownName(char *buf, uint32 seed, const char *last) { - /* Probability of prefixes/suffixes */ - /* 0..11 prefix, 12..13 prefix+suffix, 14..17 suffix, 18..31 nothing */ + /* Probability of prefixes/suffixes + * 0..11 prefix, 12..13 prefix+suffix, 14..17 suffix, 18..31 nothing */ int prob_tails; bool do_prefix, do_suffix, dynamic_subst; /* IDs of the respective parts */ |