diff options
-rw-r--r-- | strings.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -921,7 +921,7 @@ static char *GetSpecialTownNameString(char *buff, int ind, uint32 seed, const ch { char name[512]; - _town_name_generators[ind](name, seed, last); + _town_name_generators[ind](name, seed, lastof(name)); return strecpy(buff, name, last); } |