ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/common/object.C
(Generate patch)

Comparing deliantra/server/common/object.C (file contents):
Revision 1.169 by root, Wed Aug 1 01:07:42 2007 UTC vs.
Revision 1.173 by root, Sat Aug 4 22:23:47 2007 UTC

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 ())
966 if (sound_destroy)
965 play_sound (sound_die); 967 play_sound (sound_destroy);
968 else if (flag [FLAG_MONSTER])
969 play_sound (sound_find ("monster_destroy")); // quick hack, too lazy to create a generic mechanism
966 970
967 attachable::destroy (); 971 attachable::destroy ();
968} 972}
969 973
970/* 974/*
2730 force->flag [FLAG_APPLIED] = true; 2734 force->flag [FLAG_APPLIED] = true;
2731 2735
2732 insert (force); 2736 insert (force);
2733} 2737}
2734 2738
2735void
2736object::play_sound (faceidx sound) const
2737{
2738 if (map)
2739 map->play_sound (sound, x, y);
2740}

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines