version 1.27 | | version 1.28 |
---|
| | |
%{ | | %{ |
/* | | /* |
* static char *rcsid_object_c = | | * static char *rcsid_object_c = |
* "$Id: loader.l,v 1.27 2002/07/30 06:37:21 mwedel Exp $"; | | * "$Id: loader.l,v 1.28 2002/09/07 05:55:18 mwedel Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
^last_grace{S} op->last_grace = IVAL; | | ^last_grace{S} op->last_grace = IVAL; |
^last_eat{S} op->last_eat = IVAL; | | ^last_eat{S} op->last_eat = IVAL; |
^speed{S} { op->speed = FVAL; | | ^speed{S} { op->speed = FVAL; |
| | if (!(map_flags & MAP_STYLE)) { |
if (op->speed<0) op->speed_left = op->speed_left-RANDOM()%100/100.0; | | if (op->speed<0) op->speed_left = op->speed_left-RANDOM()%100/100.0; |
if (!(map_flags & MAP_STYLE)) update_ob_speed(op); | | update_ob_speed(op); |
if ((map_flags & MAP_STYLE) && (FABS(op->speed)<=MIN_ACTIVE_SPEED)) update_ob_speed(op); | | } |
} | | } |
^speed_left{S} op->speed_left = FVAL; | | ^speed_left{S} op->speed_left = FVAL; |
^slow_move{S} { SET_SLOW_PENALTY(op,FVAL); | | ^slow_move{S} { SET_SLOW_PENALTY(op,FVAL); |