summaryrefslogtreecommitdiff
path: root/src/strgen
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2010-12-09 21:01:50 +0000
committeryexo <yexo@openttd.org>2010-12-09 21:01:50 +0000
commit74d608a67efdd510de27a5fc0ca656be4b4fd024 (patch)
tree30e108a796ffc14c0a76f137e6bda1501e0efffd /src/strgen
parent475ac872c938a2ca4edd33d7992462e44695e363 (diff)
downloadopenttd-74d608a67efdd510de27a5fc0ca656be4b4fd024.tar.xz
(svn r21445) -Fix: [NewGRF] fix gender choice lists in newgrf strings.
Change: strgen no longer writes the type of a string for a gender choice list
Diffstat (limited to 'src/strgen')
-rw-r--r--src/strgen/strgen.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/strgen/strgen.cpp b/src/strgen/strgen.cpp
index 21f3683bb..61f731cb0 100644
--- a/src/strgen/strgen.cpp
+++ b/src/strgen/strgen.cpp
@@ -398,7 +398,6 @@ static void EmitGender(char *buf, int value)
assert(IsInsideBS(cmd->value, SCC_CONTROL_START, UINT8_MAX));
PutUtf8(SCC_GENDER_LIST);
- PutByte(cmd->value - SCC_CONTROL_START);
PutByte(TranslateArgumentIdx(argidx, offset));
EmitWordList(words, nw);
}