… | |
… | |
960 | return; |
960 | return; |
961 | |
961 | |
962 | if (destroy_inventory) |
962 | if (destroy_inventory) |
963 | destroy_inv (false); |
963 | destroy_inv (false); |
964 | |
964 | |
965 | play_sound (sound_die); |
965 | play_sound (sound_destroy); |
966 | |
966 | |
967 | attachable::destroy (); |
967 | attachable::destroy (); |
968 | } |
968 | } |
969 | |
969 | |
970 | /* |
970 | /* |
… | |
… | |
2730 | force->flag [FLAG_APPLIED] = true; |
2730 | force->flag [FLAG_APPLIED] = true; |
2731 | |
2731 | |
2732 | insert (force); |
2732 | insert (force); |
2733 | } |
2733 | } |
2734 | |
2734 | |
2735 | void |
|
|
2736 | object::play_sound (faceidx sound) const |
|
|
2737 | { |
|
|
2738 | if (map) |
|
|
2739 | map->play_sound (sound, x, y); |
|
|
2740 | } |
|
|