diff options
author | yexo <yexo@openttd.org> | 2011-03-22 23:59:55 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2011-03-22 23:59:55 +0000 |
commit | dfd2899a88412b2f94b95cd583975c902ddd0514 (patch) | |
tree | 8cc7a2ef5bb38839fb3d120da18a4f00ee7821f2 /src | |
parent | fd74c0f9dc261303e4ec0ce1a862e721b969e9fa (diff) | |
download | openttd-dfd2899a88412b2f94b95cd583975c902ddd0514.tar.xz |
(svn r22271) -Fix (r22258) [FS#4562]: cargo en-route display in station was broken
Diffstat (limited to 'src')
-rw-r--r-- | src/strings.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/strings.cpp b/src/strings.cpp index 5658031a6..22753f0da 100644 --- a/src/strings.cpp +++ b/src/strings.cpp @@ -782,11 +782,11 @@ static char *FormatString(char *buff, const char *str_arg, StringParameters *arg break; } - default: - /* Skip a single entry */ - args->GetInt64(); + default: { + StringParameters tmp_params(*args, 1); buff = GetStringWithArgs(buff, cargo_str, args, last); break; + } } break; } |