From a2eeea7dc81dd1b31763318a352e587430f3baff Mon Sep 17 00:00:00 2001 From: Christian Schlittchen Date: Sat, 23 Mar 2002 19:32:27 +0000 Subject: [PATCH] - assert um sicherzustellen, dass keine RC_ORC-Parteien mehr entstehen. --- src/common/kernel/faction.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/common/kernel/faction.c b/src/common/kernel/faction.c index 1a9008295..a0b5eab10 100644 --- a/src/common/kernel/faction.c +++ b/src/common/kernel/faction.c @@ -87,6 +87,8 @@ addplayer(region *r, const char *email, const struct race * frace, const locale int i; unit *u; + assert(frace != new_race[RC_ORC]); + faction *f = (faction *) calloc(1, sizeof(faction)); set_string(&f->email, email);