From 5c6106cbcf78cb422eec7e989b8276b7939259d5 Mon Sep 17 00:00:00 2001 From: rubidium Date: Mon, 25 Jun 2007 10:22:48 +0000 Subject: (svn r10320) -Fix [FS#278]: one could only build a limited number of stations before one had to rename them. --- src/strings.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/strings.cpp') diff --git a/src/strings.cpp b/src/strings.cpp index 85ed61b5c..911786707 100644 --- a/src/strings.cpp +++ b/src/strings.cpp @@ -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; -- cgit v1.2.3-54-g00ecf