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.168 by root, Thu Jul 26 00:27:07 2007 UTC vs.
Revision 1.171 by root, Wed Aug 1 19:15:49 2007 UTC

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
2733void
2734object::play_sound (faceidx sound) const
2735{
2736 if (map)
2737 map->play_sound (sound, x, y);
2738}

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines