mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-04 18:28:03 +01:00
(svn r6896) - Fix (r6895): Supply last position of the correct buffer *again*
This commit is contained in:
parent
9f1163af09
commit
4c4da881f0
@ -921,7 +921,7 @@ static char *GetSpecialTownNameString(char *buff, int ind, uint32 seed, const ch
|
|||||||
{
|
{
|
||||||
char name[512];
|
char name[512];
|
||||||
|
|
||||||
_town_name_generators[ind](name, seed, last);
|
_town_name_generators[ind](name, seed, lastof(name));
|
||||||
return strecpy(buff, name, last);
|
return strecpy(buff, name, last);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user