… | … | ||
---|---|---|---|
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 (sound_destroy) | ||
965 | play_sound (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 | ||
966 | 969 | ||
967 | attachable::destroy (); | 970 | attachable::destroy (); |
968 | } | 971 | } |
969 | 972 | ||
970 | /* | 973 | /* |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |