--- deliantra/server/include/define.h 2007/07/21 14:37:25 1.66 +++ deliantra/server/include/define.h 2007/08/01 01:53:13 1.67 @@ -953,5 +953,12 @@ #define MSG_TYPE_ADMIN_RULES 1 #define MSG_TYPE_ADMIN_NEWS 2 +/** + * Maximum distance a player may hear a sound from. + * This is only used for new client/server sound. If the sound source + * on the map is farther away than this, we don't sent it to the client. + */ +#define MAX_SOUND_DISTANCE 16 + #endif /* DEFINE_H */