version 1.64 | | version 1.65 |
---|
| | |
/* | | /* |
* static char *rcsid_player_c = | | * static char *rcsid_player_c = |
* "$Id: player.c,v 1.64 2001/08/21 05:39:30 mwedel Exp $"; | | * "$Id: player.c,v 1.65 2001/08/27 16:47:47 gros Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
y = lasty + freearr_y[dir]; | | y = lasty + freearr_y[dir]; |
| | |
m = get_map_from_coord(m, &x, &y); | | m = get_map_from_coord(m, &x, &y); |
| | if (m == NULL) return 0; |
| | |
/* Space is blocked - try changing direction a little */ | | /* Space is blocked - try changing direction a little */ |
if (blocked(m, x, y) && (m == mon->map && blocked_link(mon, x, y))) { | | if (blocked(m, x, y) && (m == mon->map && blocked_link(mon, x, y))) { |
/* recalculate direction from last good location. Possible | | /* recalculate direction from last good location. Possible |