Redeveloped the processing of language item article prefixes to match how the original handles the various languages

svn-id: r29833
This commit is contained in:
Paul Gilbert 2007-12-12 08:49:09 +00:00
parent 34102e197b
commit 2b9859f2ff
4 changed files with 81 additions and 6 deletions

View file

@ -204,7 +204,7 @@ void StringData::getString(uint16 stringId, char *dest, const char *hotspotName,
// Copy over hotspot or action
ch = readCharacter();
const char *p = (ch == '1') ? hotspotName : characterName;
int article = !includeArticles ? 0 : ((ch == 1) ? hotspotArticle : characterArticle);
int article = !includeArticles ? 0 : ((ch == '1') ? hotspotArticle : characterArticle);
if (p != NULL) {
if (article > 0) {