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