Set max. sound distance to 320, in order to have a protective effect.

This is about the max. view distance, will be configurable later on.
This commit is contained in:
asofold 2014-07-27 21:02:44 +02:00
parent c6c904254f
commit 02eea231b7

View File

@ -18,7 +18,7 @@ public class SoundDistance extends PacketAdapter {
// TODO: For lower distances more packets might need to be intercepted.
/** Maximum distance for thunder effects (squared). */
private static final double distSq = 512.0 * 512.0; // TODO: Maybe configurable.
private static final double distSq = 320.0 * 320.0; // TODO:configurable.
private static final String[] effectNames = new String[] { // Prefix tree?
"ambient.weather.thunder",