version 1.68 | | version 1.69 |
---|
| | |
/* | | /* |
* static char *rcsid_player_c = | | * static char *rcsid_player_c = |
* "$Id: player.c,v 1.68 2001/10/14 07:57:14 gros Exp $"; | | * "$Id: player.c,v 1.69 2001/10/31 07:00:24 garbled Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
if(action_makes_visible(op)) make_visible(op); | | if(action_makes_visible(op)) make_visible(op); |
if(door->inv && door->inv->type ==RUNE) spring_trap(door->inv,op); | | if(door->inv && door->inv->type ==RUNE) spring_trap(door->inv,op); |
if (door->type == DOOR) { | | if (door->type == DOOR) { |
hit_player(door,9999,op,AT_PHYSICAL); /* Break through the door */ | | hit_player(door,9998,op,AT_PHYSICAL); /* Break through the door */ |
} | | } |
else if(door->type==LOCKED_DOOR) { | | else if(door->type==LOCKED_DOOR) { |
new_draw_info_format(NDI_UNIQUE, NDI_BROWN, op, | | new_draw_info_format(NDI_UNIQUE, NDI_BROWN, op, |