Menu

Commit [r1530]  Maximize  Restore  History

This one it should work.

void check_attack()
{
// Can't hit an opponent if you are frozen
if(!is_frozen(self) && self->animation->attacks &&
self->animation->attacks[self->animpos] &&
!(self->projectile>0 && !self->falling) &&
!(self->drop && self->projectile<=0))
{
do_attack(self);
}
else self->attack_id = 0;
}

utunnels 2008-02-08