sndManager.playSound(effect.getName(), x, y, z, 0.5F, (distance / 16F), effect.getVariationId(), volume / 100F);
}
}
soundId -= (1 + SoundEffect.getMaxId());
if (soundId > -1 && soundId <= Music.getMaxId()) {
Music music = Music.getMusicFromId(soundId);
sndManager.playMusic(music.getName(), music.getSoundId(), volume / 100F);
}
}
}