From ff314eae3cc5c3158a37bceea55a35821fdc6c6d Mon Sep 17 00:00:00 2001 From: rick Date: Sun, 6 Dec 2020 18:41:39 +0100 Subject: [PATCH] Suppression code inutile --- objects/oPlayer/KeyPress_74.gml | 23 ++--------------------- 1 file changed, 2 insertions(+), 21 deletions(-) diff --git a/objects/oPlayer/KeyPress_74.gml b/objects/oPlayer/KeyPress_74.gml index 2134b92..61988b1 100644 --- a/objects/oPlayer/KeyPress_74.gml +++ b/objects/oPlayer/KeyPress_74.gml @@ -1,6 +1,5 @@ - // Attaque au corp à corp +// Attaque au corp à corp - //jouer l'animation isAttack = true; compteurFrames = 0; tailleEpee = 20; // à définir @@ -27,24 +26,6 @@ switch (indexImageInfo) { } if (inst != noone) { - show_debug_message("objet trouvé !"); - // attaque hit(self, inst, attack); inst.touche = 30; - } else { - //a supp - show_debug_message("pas d'objet..."); - } - - - /* - if (inst != noone && !ds_list_empty(inst)) { - show_debug_message("objet trouvé !"); - show_debug_message(inst); - with (inst) instance_destroy(); - // attaque - } else { - //a supp - show_debug_message("pas d'objet..."); - } - */ \ No newline at end of file + } \ No newline at end of file