From d31b8e79310be9b1cc45df6e47b336ffed3bc85a Mon Sep 17 00:00:00 2001 From: Christian Schlittchen Date: Sun, 20 May 2001 07:17:40 +0000 Subject: [PATCH] - Kleine Fixes --- src/common/gamecode/laws.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/common/gamecode/laws.c b/src/common/gamecode/laws.c index c4bfde35b..4bbe5e562 100644 --- a/src/common/gamecode/laws.c +++ b/src/common/gamecode/laws.c @@ -226,6 +226,8 @@ restart(unit *u, int race) faction *f = addplayer(u->region, u->faction->email, race)->faction; f->magiegebiet = u->faction->magiegebiet; f->options = u->faction->options; + assert(u->faction->locale); + f->locale = strdup(u->faction->locale); destroyfaction(u->faction); }