aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/src/cgeo/geocaching/speech/SpeechService.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/src/cgeo/geocaching/speech/SpeechService.java b/main/src/cgeo/geocaching/speech/SpeechService.java
index eac44ff..634f1c4 100644
--- a/main/src/cgeo/geocaching/speech/SpeechService.java
+++ b/main/src/cgeo/geocaching/speech/SpeechService.java
@@ -110,10 +110,10 @@ public class SpeechService extends Service implements OnInitListener {
private static float getDeltaForDistance(final float distance) {
if (distance > 1.0) {
return 0.2f;
- } else if (distance > 0.05) {
+ }
+ if (distance > 0.05) {
return distance / 5.0f;
}
-
return 0f;
}