version 1.178 | | version 1.179 |
---|
| | |
/* | | /* |
* static char *rcsid_player_c = | | * static char *rcsid_player_c = |
* "$Id: player.c,v 1.178 2005/10/01 17:46:05 ryo_saeba Exp $"; | | * "$Id: player.c,v 1.179 2005/10/07 19:38:49 akirschbaum Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
if(action_makes_visible(op)) make_visible(op); | | if(action_makes_visible(op)) make_visible(op); |
if(door->inv &&(door->inv->type ==RUNE || door->inv->type ==TRAP)) spring_trap(door->inv,op); | | if(door->inv &&(door->inv->type ==RUNE || door->inv->type ==TRAP)) spring_trap(door->inv,op); |
if (door->type == DOOR) { | | if (door->type == DOOR) { |
hit_player(door,9998,op,AT_PHYSICAL); /* Break through the door */ | | hit_player(door,9998,op,AT_PHYSICAL,1); /* 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, |