version 1.20 | | version 1.21 |
---|
| | |
/* | | /* |
* static char *rcsid_exit_c = | | * static char *rcsid_exit_c = |
* "$Id: exit.c,v 1.20 2006/03/04 17:37:19 akirschbaum Exp $"; | | * "$Id: exit.c,v 1.21 2006/04/06 21:18:35 tchize Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
/* surround the exits with notices that this is a random map. */ | | /* surround the exits with notices that this is a random map. */ |
for(j=1;j<9;j++) { | | for(j=1;j<9;j++) { |
if(!wall_blocked(map,the_exit_up->x+freearr_x[j],the_exit_up->y+freearr_y[j])) { | | if(!wall_blocked(map,the_exit_up->x+freearr_x[j],the_exit_up->y+freearr_y[j])) { |
random_sign = get_archetype("sign"); | | random_sign = create_archetype("sign"); |
random_sign->x = the_exit_up->x+freearr_x[j]; | | random_sign->x = the_exit_up->x+freearr_x[j]; |
random_sign->y = the_exit_up->y+freearr_y[j]; | | random_sign->y = the_exit_up->y+freearr_y[j]; |
| | |