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