summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-06-22 19:09:48 +0000
committerrubidium <rubidium@openttd.org>2009-06-22 19:09:48 +0000
commit95a1bbdd7dc15311cf68faf8705a1ea80b0868fd (patch)
treec27bbbeef44e8d8c37ec3b579d42ac5cd10e5f88 /src
parentace1baf9c397c3d30e58e17a8c2f3c5c0aad5358 (diff)
downloadopenttd-95a1bbdd7dc15311cf68faf8705a1ea80b0868fd.tar.xz
(svn r16622) -Fix: {CARGO} only consumes 1 argument
Diffstat (limited to 'src')
-rw-r--r--src/table/strgen_tables.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/table/strgen_tables.h b/src/table/strgen_tables.h
index e3024ba8f..b727992b7 100644
--- a/src/table/strgen_tables.h
+++ b/src/table/strgen_tables.h
@@ -67,7 +67,7 @@ static const CmdStruct _cmd_structs[] = {
{"STATIONFEATURES", EmitSingleChar, SCC_STATION_FEATURES, 1, C_NONE}, // station features string, icons of the features
{"INDUSTRY", EmitSingleChar, SCC_INDUSTRY_NAME, 1, C_NONE}, // industry, takes an industry #
- {"CARGO", EmitSingleChar, SCC_CARGO, 2, C_NONE},
+ {"CARGO", EmitSingleChar, SCC_CARGO, 1, C_NONE},
{"POWER", EmitSingleChar, SCC_POWER, 1, C_NONE},
{"VOLUME", EmitSingleChar, SCC_VOLUME, 1, C_NONE},
{"VOLUME_S", EmitSingleChar, SCC_VOLUME_SHORT, 1, C_NONE},