bugfix englische resourcen-namen

This commit is contained in:
Enno Rehling 2003-09-21 07:48:40 +00:00
parent 50f28ae59b
commit af9422a0df
1 changed files with 1 additions and 1 deletions

View File

@ -2163,7 +2163,7 @@ display_item(faction *f, unit *u, const item_type * itype)
} }
if (!fp) { if (!fp) {
name = resourcename(itype->rtype, 0); name = resourcename(itype->rtype, 0);
sprintf(filename, "%s/items/%s", resourcepath(), name); sprintf(filename, "%s/%s/items/%s", resourcepath(), locale_name(default_locale), name);
fp = fopen(filename, "r"); fp = fopen(filename, "r");
} }
if (!fp) return false; if (!fp) return false;