version 1.11 | | version 1.12 |
---|
| | |
%{ | | %{ |
/* | | /* |
* static char *rcsid_object_c = | | * static char *rcsid_object_c = |
* "$Id: loader.l,v 1.11 2001/03/17 05:03:08 mwedel Exp $"; | | * "$Id: loader.l,v 1.12 2001/04/09 06:59:46 mwedel Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
^speed{S} { op->speed = FVAL; | | ^speed{S} { op->speed = FVAL; |
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); | | if (!(map_flags & MAP_STYLE)) 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); |