From 81a3e8295cbca31961281cd412e9359c91f46c3c Mon Sep 17 00:00:00 2001
From: Paul GEORGES <43345813+paulgeorges1998@users.noreply.github.com>
Date: Sun, 16 Dec 2018 03:50:20 +0100
Subject: [PATCH] timer tir ennemi

---
 listeB.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/listeB.c b/listeB.c
index 3491f76..0be0556 100644
--- a/listeB.c
+++ b/listeB.c
@@ -137,7 +137,7 @@ ListeB tir_update(ListeB LB, ListeP LP, ListeR LR, ListeE *LE, int time, int v,
         break;
       }
     } else {
-      if(time > tmp->data.tempsTirPrecedent + 3000 && tmp->data.arme == 10){
+      if(time > tmp->data.tempsTirPrecedent + 2000 && tmp->data.arme == 10){
         if(tmp->data.collision == false && tmp->data.pos.x > 100 &&
           tmp->data.pos.x < 900 && tmp->data.pos.y > 100 && tmp->data.pos.y < 600){
           tmp->data.tir = true;
-- 
GitLab