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

Comparing deliantra/server/common/map.C (file contents):
Revision 1.114 by root, Thu Jul 26 00:27:07 2007 UTC vs.
Revision 1.115 by root, Wed Aug 1 01:53:13 2007 UTC

1670 1670
1671 // instead of crashing in the unlikely(?) case, try to return *something* 1671 // instead of crashing in the unlikely(?) case, try to return *something*
1672 return get_archetype ("blocked"); 1672 return get_archetype ("blocked");
1673} 1673}
1674 1674
1675/**
1676 * Maximum distance a player may hear a sound from.
1677 * This is only used for new client/server sound. If the sound source
1678 * on the map is farther away than this, we don't sent it to the client.
1679 */
1680#define MAX_SOUND_DISTANCE 10
1681
1682void 1675void
1683maptile::play_sound (faceidx sound, int x, int y) const 1676maptile::play_sound (faceidx sound, int x, int y) const
1684{ 1677{
1685 if (!sound) 1678 if (!sound)
1686 return; 1679 return;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines