BUG 2424 remove invlaid assertion

This commit is contained in:
Enno Rehling 2018-03-11 11:39:57 +01:00
parent 346f56ebdb
commit 6d98a5dc4f

View file

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