diff options
Diffstat (limited to 'core')
| -rw-r--r-- | core/src/ch/asynk/rustanddust/game/hud/UnitDock.java | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/core/src/ch/asynk/rustanddust/game/hud/UnitDock.java b/core/src/ch/asynk/rustanddust/game/hud/UnitDock.java index fe73e27..8150cb1 100644 --- a/core/src/ch/asynk/rustanddust/game/hud/UnitDock.java +++ b/core/src/ch/asynk/rustanddust/game/hud/UnitDock.java @@ -220,7 +220,7 @@ public class UnitDock extends Bg implements Animation          if (!visible) return;          float top = scaledRect.y + scaledRect.height; -        if (top != y) { +        if ((int)top != (int)y) {              if (top < y) {                  this.dy += Math.min(BOUNCE_SPEED, (y - top));                  compute(); | 
