From 5090303bbe2985f41293210e471246dba76b004b Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Thu, 13 Dec 2007 09:28:12 +0000 Subject: [PATCH] =?UTF-8?q?http://eressea.upb.de/mantis/view.php=3Fid=3D13?= =?UTF-8?q?26=20"road"=20statt=20"Stra=C3=9Fe"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/common/gamecode/creport.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/common/gamecode/creport.c b/src/common/gamecode/creport.c index a3e38fcb7..30873cb8a 100644 --- a/src/common/gamecode/creport.c +++ b/src/common/gamecode/creport.c @@ -1111,11 +1111,12 @@ cr_borders(seen_region ** seen, const region * r, const faction * f, int seemode } } if (cs) { + const char * bname = b->type->__name; /* bug 1326 - I hate this */ fprintf(F, "GRENZE %d\n", ++g); - fprintf(F, "\"%s\";typ\n", b->type->name(b, r, f, GF_NONE)); + fprintf(F, "\"%s\";typ\n", LOC(default_locale, bname)); fprintf(F, "%d;richtung\n", d); if (!b->type->transparent(b, f)) fputs("1;opaque\n", F); - /* pfusch: */ + /* hack: */ if (b->type==&bt_road) { int p = rroad(r, d)*100/r->terrain->max_road; fprintf(F, "%d;prozent\n", p);