summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-05-15 14:37:33 +0000
committerrubidium <rubidium@openttd.org>2010-05-15 14:37:33 +0000
commit0e1861c3b8d9aab3fad894738c256e35cf9da889 (patch)
tree50f8efe55077eaed284d21e4cdf7e241a1380bc4
parent3b8c4440c54f9af980e580dc0c6e03acd2f88a4b (diff)
downloadopenttd-0e1861c3b8d9aab3fad894738c256e35cf9da889.tar.xz
(svn r19824) -Fix [FS#3837] (19799): aircraft would be heading to someone
-rw-r--r--src/strings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/strings.cpp b/src/strings.cpp
index 56ed57f71..1373a0b9c 100644
--- a/src/strings.cpp
+++ b/src/strings.cpp
@@ -949,7 +949,7 @@ static char *FormatString(char *buff, const char *str, int64 *argv, uint casei,
VehicleType vt = (VehicleType)GetInt32(&argv);
if (vt == VEH_AIRCRAFT) {
int64 temp[] = { GetInt32(&argv) };
- buff = GetStringWithArgs(buff, STR_FORMAT_DEPOT_NAME_AIRCRAFT + vt, temp, last);
+ buff = GetStringWithArgs(buff, STR_FORMAT_DEPOT_NAME_AIRCRAFT, temp, last);
break;
}