version 1.58 | | version 1.59 |
---|
| | |
/* | | /* |
* static char *rcsid_attack_c = | | * static char *rcsid_attack_c = |
* "$Id: attack.c,v 1.58 2001/11/27 04:33:46 michtoen Exp $"; | | * "$Id: attack.c,v 1.59 2001/11/28 04:44:42 michtoen Exp $"; |
*/ | | */ |
/* | | /* |
CrossFire, A Multiplayer game for X-windows | | CrossFire, A Multiplayer game for X-windows |
| | |
if (effect==0) return; | | if (effect==0) return; |
| | |
SET_FLAG(op,FLAG_PARALYZED); /* we mark this object as paralyzed */ | | SET_FLAG(op,FLAG_PARALYZED); /* we mark this object as paralyzed */ |
animate_object(op); /* set the right animation for paralyze when needed */ | | |
| | |
op->speed_left-=FABS(op->speed)*effect; | | op->speed_left-=FABS(op->speed)*effect; |
/* tmp->stats.food+=(signed short) effect/op->speed; */ | | /* tmp->stats.food+=(signed short) effect/op->speed; */ |