version 1.130 | | version 1.131 |
---|
| | |
/* | | /* |
* static char *rcsid_player_c = | | * static char *rcsid_player_c = |
* "$Id: player.c,v 1.130 2003/07/24 04:21:14 temitchell Exp $"; | | * "$Id: player.c,v 1.131 2003/09/04 06:25:32 temitchell Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
| | |
play_sound_map(op->map, op->x, op->y, SOUND_OPEN_DOOR); | | play_sound_map(op->map, op->x, op->y, SOUND_OPEN_DOOR); |
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 || 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); /* Break through the door */ |
} | | } |