forked from github/server
BUG 2424 remove invlaid assertion
This commit is contained in:
parent
346f56ebdb
commit
6d98a5dc4f
1 changed files with 1 additions and 3 deletions
|
@ -105,13 +105,11 @@ trigger_type tt_changerace = {
|
|||
changerace_read
|
||||
};
|
||||
|
||||
trigger *trigger_changerace(struct unit * u, const struct race * prace,
|
||||
const struct race * irace)
|
||||
trigger *trigger_changerace(unit * u, const race * prace, const race * irace)
|
||||
{
|
||||
trigger *t = t_new(&tt_changerace);
|
||||
changerace_data *td = (changerace_data *)t->data.v;
|
||||
|
||||
/* assert(u_race(u) == u_irace(u) || !"changerace-triggers cannot stack!"); */
|
||||
td->u = u;
|
||||
td->race = prace;
|
||||
td->irace = irace;
|
||||
|
|
Loading…
Reference in a new issue