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.177 by root, Sun Aug 12 13:10:00 2007 UTC vs.
Revision 1.178 by root, Sun Aug 12 14:13:54 2007 UTC

2730 force->flag [FLAG_APPLIED] = true; 2730 force->flag [FLAG_APPLIED] = true;
2731 2731
2732 insert (force); 2732 insert (force);
2733} 2733}
2734 2734
2735void
2736object::play_sound (faceidx sound) const
2737{
2738 if (!sound)
2739 return;
2740
2741 if (flag [FLAG_REMOVED])
2742 return;
2743
2744 if (env)
2745 {
2746 if (object *pl = in_player ())
2747 pl->contr->play_sound (sound);
2748 }
2749 else
2750 map->play_sound (sound, x, y);
2751}
2752

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines