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);