1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-28 08:59:09 +00:00

(svn r10320) -Fix [FS#278]: one could only build a limited number of stations before one had to rename them.

This commit is contained in:
rubidium
2007-06-25 10:22:48 +00:00
parent 1904f8e838
commit 5c6106cbcf
3 changed files with 4 additions and 6 deletions

View File

@@ -817,9 +817,10 @@ static char* FormatString(char* buff, const char* str, const int64* argv, uint c
if (!st->IsValid()) { // station doesn't exist anymore
buff = GetStringWithArgs(buff, STR_UNKNOWN_DESTINATION, NULL, last);
} else {
int64 temp[2];
int64 temp[3];
temp[0] = STR_TOWN;
temp[1] = st->town->index;
temp[2] = st->index;
buff = GetStringWithArgs(buff, st->string_id, temp, last);
}
break;