forked from github/server
remove cvector.[hc] completely
This commit is contained in:
parent
7d4205a3d1
commit
71988d9912
|
@ -1319,12 +1319,12 @@ static void
|
||||||
do_meffect(fighter * af, int typ, int effect, int duration)
|
do_meffect(fighter * af, int typ, int effect, int duration)
|
||||||
{
|
{
|
||||||
battle *b = af->side->battle;
|
battle *b = af->side->battle;
|
||||||
meffect *meffect = calloc(1, sizeof(struct meffect));
|
meffect *me = (meffect *)malloc(sizeof(struct meffect));
|
||||||
cv_pushback(&b->meffects, meffect);
|
ql_push(&b->meffects, me);
|
||||||
meffect->magician = af;
|
me->magician = af;
|
||||||
meffect->typ = typ;
|
me->typ = typ;
|
||||||
meffect->effect = effect;
|
me->effect = effect;
|
||||||
meffect->duration = duration;
|
me->duration = duration;
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
|
|
Loading…
Reference in New Issue