summaryrefslogtreecommitdiff
path: root/src/strings.cpp
diff options
context:
space:
mode:
authorPeterN <peter@fuzzle.org>2018-06-26 13:32:58 +0100
committerGitHub <noreply@github.com>2018-06-26 13:32:58 +0100
commit11ab3c4ea2f6a6d29efda8c9ba2af04194621ea7 (patch)
tree88a8cbfb1cd8ddc630cc4e63ffc9ac436e9c4153 /src/strings.cpp
parent7eca4a9b47e5bdf5123be6158c89be8ebeb213d6 (diff)
downloadopenttd-11ab3c4ea2f6a6d29efda8c9ba2af04194621ea7.tar.xz
Change: Increase cargo type limit to 64.
Diffstat (limited to 'src/strings.cpp')
-rw-r--r--src/strings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/strings.cpp b/src/strings.cpp
index 3bfd88662..b79350318 100644
--- a/src/strings.cpp
+++ b/src/strings.cpp
@@ -1147,7 +1147,7 @@ static char *FormatString(char *buff, const char *str_arg, StringParameters *arg
}
case SCC_CARGO_LIST: { // {CARGO_LIST}
- CargoTypes cmask = args->GetInt32(SCC_CARGO_LIST);
+ CargoTypes cmask = args->GetInt64(SCC_CARGO_LIST);
bool first = true;
const CargoSpec *cs;