From 81d3e94b6f811d2cd4d684031e39f36187ad6ca7 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Wed, 18 Jan 2006 22:48:49 +0000 Subject: [PATCH] small bug in raceinfo construction --- 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 1bee9c76e..07b1a8cfd 100644 --- a/src/common/gamecode/laws.c +++ b/src/common/gamecode/laws.c @@ -2298,7 +2298,7 @@ display_race(faction *f, unit *u, const race * rc) size -= rsize; bufp += rsize; - key = mkname("raceinfo", name); + key = mkname("raceinfo", rc->_name[0]); info = locale_string(f->locale, key); if (info==key || strcmp(info, key)==0) { info = locale_string(f->locale, mkname("raceinfo", "no_info"));