From 04a6c0a8698ff4e43f68cf6aa850d3a6c2e3424c Mon Sep 17 00:00:00 2001 From: Damien Date: Wed, 12 May 2021 19:11:47 +0200 Subject: [PATCH] la ca marche ? --- core/src/sagittarius/model/Bow.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/sagittarius/model/Bow.java b/core/src/sagittarius/model/Bow.java index 79fb42d..cd41593 100644 --- a/core/src/sagittarius/model/Bow.java +++ b/core/src/sagittarius/model/Bow.java @@ -45,7 +45,7 @@ public class Bow extends Actor { } else if (pressed && power > 50) { pressed = false; GameScreen.playerCurrent.setActive(false); - Arrow arrowShot = new Arrow(angle, power, GameScreen.playerCurrent, false); + Arrow arrowShot = new Arrow(angle, power, GameScreen.playerCurrent); GameScreen.setFocus(arrowShot); // do not use constructor 2 times GameScreen.arrows.addActor(arrowShot); } else {