4
0
Fork 0

Suppression code inutile

This commit is contained in:
rick 2020-12-06 18:41:39 +01:00
parent 772b3fcce5
commit ff314eae3c
1 changed files with 2 additions and 21 deletions

View File

@ -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...");
}
*/
}