Fixed a bug in SoundManager.
Looping sounds should be paused when out of hearing range to
save some CPU cycles in the mixing code. The check for distance
was wrong and this fixes the issue.
Merge pull request #700 from hean01/master

Fixes bug in SoundManager