remove cvector.[hc] completely

This commit is contained in:
Enno Rehling 2011-02-27 20:53:19 -08:00
parent 7d4205a3d1
commit 71988d9912
1 changed files with 6 additions and 6 deletions

View File

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