version 1.98 | | version 1.99 |
---|
| | |
/* | | /* |
* static char *rcsid_monster_c = | | * static char *rcsid_monster_c = |
* "$Id: monster.c,v 1.98 2006/05/05 09:26:35 ryo_saeba Exp $"; | | * "$Id: monster.c,v 1.99 2006/05/25 15:31:48 ryo_saeba Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
* into themselves. | | * into themselves. |
*/ | | */ |
get_rangevector(op, enemy, &rv, 0); | | get_rangevector(op, enemy, &rv, 0); |
| | if ( op->direction != rv.direction ) |
| | { |
| | op->direction = rv.direction; |
| | op->facing = op->direction; |
| | animate_object(op, op->direction); |
| | } |
| | |
/* Move the check for scared up here - if the monster was scared, | | /* Move the check for scared up here - if the monster was scared, |
* we were not doing any of the logic below, so might as well save | | * we were not doing any of the logic below, so might as well save |