summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/src/ch/asynk/tankontank/game/hud/Engagement.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/core/src/ch/asynk/tankontank/game/hud/Engagement.java b/core/src/ch/asynk/tankontank/game/hud/Engagement.java
index ef1b0e5..63facca 100644
--- a/core/src/ch/asynk/tankontank/game/hud/Engagement.java
+++ b/core/src/ch/asynk/tankontank/game/hud/Engagement.java
@@ -154,9 +154,7 @@ public class Engagement extends Patch implements Animation
public boolean hit(float x, float y)
{
- if (okBtn.hit(x, y))
- return true;
- return false;
+ return rect.contains(x, y);
}
@Override