From fb1ac307a437694a6be52caefadf417cb829777e Mon Sep 17 00:00:00 2001 From: glx22 Date: Sat, 30 Apr 2022 19:29:08 +0200 Subject: [PATCH] Fix 44f2ef1: [strgen] Allow gender for {CARGO_SHORT} --- src/table/strgen_tables.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/table/strgen_tables.h b/src/table/strgen_tables.h index ecdafb3ee7..7ce480f6fa 100644 --- a/src/table/strgen_tables.h +++ b/src/table/strgen_tables.h @@ -74,7 +74,7 @@ static const CmdStruct _cmd_structs[] = { {"STATION_FEATURES", EmitSingleChar, SCC_STATION_FEATURES, 1, -1, C_NONE}, // station features string, icons of the features {"INDUSTRY", EmitSingleChar, SCC_INDUSTRY_NAME, 1, -1, C_CASE | C_GENDER}, // industry, takes an industry #, can have cases {"CARGO_LONG", EmitSingleChar, SCC_CARGO_LONG, 2, 1, C_NONE | C_GENDER}, - {"CARGO_SHORT", EmitSingleChar, SCC_CARGO_SHORT, 2, 1, C_NONE}, // short cargo description, only ### tons, or ### litres + {"CARGO_SHORT", EmitSingleChar, SCC_CARGO_SHORT, 2, 1, C_NONE | C_GENDER}, // short cargo description, only ### tons, or ### litres {"CARGO_TINY", EmitSingleChar, SCC_CARGO_TINY, 2, 1, C_NONE}, // tiny cargo description with only the amount, not a specifier for the amount or the actual cargo name {"CARGO_LIST", EmitSingleChar, SCC_CARGO_LIST, 1, -1, C_CASE}, {"POWER", EmitSingleChar, SCC_POWER, 1, 0, C_NONE},