version 1.126 | version 1.127 | |||
---|---|---|---|---|
|
| |||
/* | /* | |||
* static char *rcsid_player_c = | * static char *rcsid_player_c = | |||
* "$Id: player.c,v 1.126 2003/03/19 08:04:52 mwedel Exp $"; | * "$Id: player.c,v 1.127 2003/03/24 06:58:33 mwedel Exp $"; | |||
*/ | */ | |||
/* | /* | |||
|
| |||
int m=1-(RANDOM()&2); | int m=1-(RANDOM()&2); | |||
if(move_ob(op,absdir(dir+diff*m),op)|| | if(move_ob(op,absdir(dir+diff*m),op)|| | |||
(diff==0&&move_ob(op,absdir(dir-diff*m),op))) { | (diff==0&&move_ob(op,absdir(dir-diff*m),op))) { | |||
draw(op); | ||||
return; | return; | |||
} | } | |||
} | } |
Legend:
|