version 1.20 | | version 1.21 |
---|
| | |
/* | | /* |
* static char *rcsid_treasure_c = | | * static char *rcsid_treasure_c = |
* "$Id: treasure.c,v 1.20 2004/04/14 07:24:31 mwedel Exp $"; | | * "$Id: treasure.c,v 1.21 2005/09/04 16:58:12 akirschbaum Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
doorlist[*ndoors]=door; | | doorlist[*ndoors]=door; |
if(*ndoors>254) /* eek! out of memory */ | | if(*ndoors>254) /* eek! out of memory */ |
{ | | { |
printf("find_doors_in_room_recursive:Too many doors for memory allocated!\n"); | | LOG(llevError, "find_doors_in_room_recursive:Too many doors for memory allocated!\n"); |
return; | | return; |
} | | } |
*ndoors=*ndoors+1; | | *ndoors=*ndoors+1; |