… | |
… | |
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 | if (is_head ()) |
965 | if (sound_destroy) |
966 | if (sound_destroy) |
966 | play_sound (sound_destroy); |
967 | play_sound (sound_destroy); |
967 | else if (flag [FLAG_MONSTER]) |
968 | else if (flag [FLAG_MONSTER]) |
968 | play_sound (sound_find ("monster_destroy")); // quick hack, too lazy to create a generic mechanism |
969 | play_sound (sound_find ("monster_destroy")); // quick hack, too lazy to create a generic mechanism |
969 | |
970 | |
970 | attachable::destroy (); |
971 | attachable::destroy (); |
971 | } |
972 | } |
972 | |
973 | |
973 | /* |
974 | /* |