forked from github/server
- assert um sicherzustellen, dass keine RC_ORC-Parteien mehr entstehen.
This commit is contained in:
parent
761dc83d85
commit
a2eeea7dc8
|
@ -87,6 +87,8 @@ addplayer(region *r, const char *email, const struct race * frace, const locale
|
||||||
int i;
|
int i;
|
||||||
unit *u;
|
unit *u;
|
||||||
|
|
||||||
|
assert(frace != new_race[RC_ORC]);
|
||||||
|
|
||||||
faction *f = (faction *) calloc(1, sizeof(faction));
|
faction *f = (faction *) calloc(1, sizeof(faction));
|
||||||
|
|
||||||
set_string(&f->email, email);
|
set_string(&f->email, email);
|
||||||
|
|
Loading…
Reference in New Issue