summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2010-12-18 22:50:46 +0000
committersmatz <smatz@openttd.org>2010-12-18 22:50:46 +0000
commit5a6c9877cbbe79c2c53414c9e46bcad3c6a1d434 (patch)
tree2abcba06682a47ceb8689782bcbfb66c1535f343 /src
parent3448853b55445c32ecd3c0b0db1bab9baad86df3 (diff)
downloadopenttd-5a6c9877cbbe79c2c53414c9e46bcad3c6a1d434.tar.xz
(svn r21538) -Add: {INDUSTRY} can now have cases
Diffstat (limited to 'src')
-rw-r--r--src/table/strgen_tables.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/table/strgen_tables.h b/src/table/strgen_tables.h
index b6facd5d7..aeebfb903 100644
--- a/src/table/strgen_tables.h
+++ b/src/table/strgen_tables.h
@@ -68,8 +68,8 @@ static const CmdStruct _cmd_structs[] = {
{"STRING5", EmitSingleChar, SCC_STRING5, 6, C_CASE | C_GENDER}, // included string that consumes the string id and FIVE arguments
{"STATIONFEATURES", EmitSingleChar, SCC_STATION_FEATURES, 1, C_NONE}, // station features string, icons of the features
- {"INDUSTRY", EmitSingleChar, SCC_INDUSTRY_NAME, 1, C_NONE | C_GENDER}, // industry, takes an industry #
- {"CARGO", EmitSingleChar, SCC_CARGO, 2, C_NONE | C_GENDER},
+ {"INDUSTRY", EmitSingleChar, SCC_INDUSTRY_NAME, 1, C_GENDER | C_CASE}, // industry, takes an industry #, can have cases
+ {"CARGO", EmitSingleChar, SCC_CARGO, 2, C_GENDER},
{"POWER", EmitSingleChar, SCC_POWER, 1, C_NONE},
{"VOLUME", EmitSingleChar, SCC_VOLUME, 1, C_NONE},
{"VOLUME_S", EmitSingleChar, SCC_VOLUME_SHORT, 1, C_NONE},