(svn r6896) - Fix (r6895): Supply last position of the correct buffer *again*

This commit is contained in:
peter1138
2006-10-22 15:13:48 +00:00
parent 961eda2a64
commit 751ebde7b4

View File

@@ -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);
}