(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
This commit is contained in:
yexo
2010-12-09 21:01:50 +00:00
parent 475ac872c9
commit 74d608a67e
2 changed files with 22 additions and 24 deletions

View File

@@ -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);
}