From af9422a0df5032fbc1bec78c2b99907d6842a163 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sun, 21 Sep 2003 07:48:40 +0000 Subject: [PATCH] bugfix englische resourcen-namen --- src/common/gamecode/laws.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/gamecode/laws.c b/src/common/gamecode/laws.c index 83000c4c1..ea82ef9d4 100644 --- a/src/common/gamecode/laws.c +++ b/src/common/gamecode/laws.c @@ -2163,7 +2163,7 @@ display_item(faction *f, unit *u, const item_type * itype) } if (!fp) { 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"); } if (!fp) return false;