version 1.92 | | version 1.93 |
---|
| | |
/* | | /* |
* static char *rcsid_object_c = | | * static char *rcsid_object_c = |
* "$Id: object.c,v 1.92 2004/10/15 07:09:39 mwedel Exp $"; | | * "$Id: object.c,v 1.93 2004/11/25 18:26:53 ryo_saeba Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
*/ | | */ |
| | |
/* Have object 'fall below' other objects that block view. | | /* Have object 'fall below' other objects that block view. |
| | * Unless those objects are exits, type 66 |
* If INS_ON_TOP is used, don't do this processing | | * If INS_ON_TOP is used, don't do this processing |
* Need to find the object that in fact blocks view, otherwise | | * Need to find the object that in fact blocks view, otherwise |
* stacking is a bit odd. | | * stacking is a bit odd. |
| | |
(get_map_flags(op->map, NULL, op->x, op->y, NULL, NULL) & P_BLOCKSVIEW) && | | (get_map_flags(op->map, NULL, op->x, op->y, NULL, NULL) & P_BLOCKSVIEW) && |
(op->face && !op->face->visibility)) { | | (op->face && !op->face->visibility)) { |
for (last=top; last != floor; last=last->below) | | for (last=top; last != floor; last=last->below) |
if QUERY_FLAG(last, FLAG_BLOCKSVIEW) break; | | if (QUERY_FLAG(last, FLAG_BLOCKSVIEW)&&(last->type != 66)) break; |
/* Check to see i we found the object that blocks view, | | /* Check to see i we found the object that blocks view, |
* and make sure we have a below pointer for it so that | | * and make sure we have a below pointer for it so that |
* we can get inserted below this one, which requires we | | * we can get inserted below this one, which requires we |