… | |
… | |
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 | if (sound_destroy) |
|
|
966 | play_sound (sound_destroy); |
|
|
967 | else if (flag [FLAG_MONSTER]) |
|
|
968 | play_sound (sound_find ("monster_destroy")); // quick hack, too lazy to create a generic mechanism |
964 | |
969 | |
965 | attachable::destroy (); |
970 | attachable::destroy (); |
966 | } |
971 | } |
967 | |
972 | |
968 | /* |
973 | /* |
… | |
… | |
2728 | force->flag [FLAG_APPLIED] = true; |
2733 | force->flag [FLAG_APPLIED] = true; |
2729 | |
2734 | |
2730 | insert (force); |
2735 | insert (force); |
2731 | } |
2736 | } |
2732 | |
2737 | |
2733 | |
|
|