version 1.22 | | version 1.23 |
---|
| | |
/* | | /* |
* static char *rcsid_random_map_c = | | * static char *rcsid_random_map_c = |
* "$Id: random_map.c,v 1.22 2001/05/04 23:56:36 mardahl Exp $"; | | * "$Id: random_map.c,v 1.23 2001/05/07 07:29:15 mwedel Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
maze[i][j]= new[(RP->Xsize-i-1)*RP->Ysize + RP->Ysize-j-1]; | | maze[i][j]= new[(RP->Xsize-i-1)*RP->Ysize + RP->Ysize-j-1]; |
} | | } |
} | | } |
| | free(new); |
return maze; | | return maze; |
break; | | break; |
} | | } |
| | |
doorlist_x[di]=doorlist_x[doorlocs]; | | doorlist_x[di]=doorlist_x[doorlocs]; |
doorlist_y[di]=doorlist_y[doorlocs]; | | doorlist_y[di]=doorlist_y[doorlocs]; |
} | | } |
| | free(doorlist_x); |
| | free(doorlist_y); |
} | | } |
| | |
| | |