version 1.21 | | version 1.22 |
---|
| | |
/* | | /* |
* static char *rcsid_main_c = | | * static char *rcsid_main_c = |
* "$Id: main.c,v 1.21 2001/02/01 04:09:21 cvs Exp $"; | | * "$Id: main.c,v 1.22 2001/02/01 05:35:33 cvs Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
if (out_of_map(newmap, x, y)) { | | if (out_of_map(newmap, x, y)) { |
LOG(llevError,"enter_map: supplied coordinates are not within the map! (%s: %d, %d)\n", | | LOG(llevError,"enter_map: supplied coordinates are not within the map! (%s: %d, %d)\n", |
newmap->path, x, y); | | newmap->path, x, y); |
x=EXIT_X(op->map->map_object); | | x=EXIT_X(newmap->map_object); |
y=EXIT_Y(op->map->map_object); | | y=EXIT_Y(newmap->map_object); |
} | | } |
/* try to find a spot for the player */ | | /* try to find a spot for the player */ |
if (arch_blocked(op->arch, newmap, x, y)) { /* First choice blocked */ | | if (arch_blocked(op->arch, newmap, x, y)) { /* First choice blocked */ |