minimaler cleanup

This commit is contained in:
Enno Rehling 2006-07-12 22:02:24 +00:00
parent 5078f1914d
commit 4a74bfdf9d
1 changed files with 3 additions and 4 deletions

View File

@ -1750,10 +1750,9 @@ hits(troop at, troop dt, weapon * awp)
if ((af->person[at.index].flags & FL_TIRED && rng_int()%100 < 50) if ((af->person[at.index].flags & FL_TIRED && rng_int()%100 < 50)
|| (af->person[at.index].flags & FL_SLEEPING)) || (af->person[at.index].flags & FL_SLEEPING))
return 0; return 0;
if (awp && fval(awp->type, WTF_MISSILE)
&& af->side->battle->reelarrow == true /* effect of sp_reeling_arrows combatspell */
&& rng_int()%100 < 50) if (af->side->battle->reelarrow && awp && fval(awp->type, WTF_MISSILE) && rng_double() < 0.5) {
{
return 0; return 0;
} }