summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/src/ch/asynk/rustanddust/game/Hud.java4
-rw-r--r--core/src/ch/asynk/rustanddust/game/Map.java2
2 files changed, 3 insertions, 3 deletions
diff --git a/core/src/ch/asynk/rustanddust/game/Hud.java b/core/src/ch/asynk/rustanddust/game/Hud.java
index 8dae202..7c3ff2e 100644
--- a/core/src/ch/asynk/rustanddust/game/Hud.java
+++ b/core/src/ch/asynk/rustanddust/game/Hud.java
@@ -298,9 +298,9 @@ public class Hud implements Disposable, Animation
pushDialog(okCancel);
}
- public void engagementSummary(Engagement e, float volume)
+ public void engagementSummary(Engagement e)
{
- engagement.show(e, Position.BOTTOM_CENTER, volume);
+ engagement.show(e, Position.BOTTOM_CENTER, game.config.fxVolume);
pushDialog(engagement);
}
diff --git a/core/src/ch/asynk/rustanddust/game/Map.java b/core/src/ch/asynk/rustanddust/game/Map.java
index 5e27a1a..ecb24d0 100644
--- a/core/src/ch/asynk/rustanddust/game/Map.java
+++ b/core/src/ch/asynk/rustanddust/game/Map.java
@@ -515,7 +515,7 @@ public abstract class Map extends Board implements MoveToAnimationCb, ObjectiveS
addAnimation(destroy);
}
- ctrl.hud.engagementSummary(e, ctrl.cfg.fxVolume);
+ ctrl.hud.engagementSummary(e);
addEngagementAnimation(e.defender);
if (engagementCost(e) == 0)