style: correcting typos

This commit is contained in:
Raphael 2025-01-13 15:01:04 +01:00
parent 4971decf2d
commit 016ddd0846

View file

@ -6,7 +6,7 @@
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */ /* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */
/* Created: 2025/01/10 13:59:49 by rparodi #+# #+# */ /* Created: 2025/01/10 13:59:49 by rparodi #+# #+# */
/* Updated: 2025/01/10 16:00:29 by rparodi ### ########.fr */ /* Updated: 2025/01/13 14:58:53 by rparodi ### ########.fr */
/* */ /* */
/* ************************************************************************** */ /* ************************************************************************** */
@ -32,7 +32,7 @@ void ClapTrap::attack(const std::string& target) {
return ; return ;
} }
_energy_point--; _energy_point--;
std::cout << "[Attack] ClapTrap:\n\t" << _name << " attacks " << target << ", causing" << _attack_damage << "points of damage!" << std::endl; std::cout << "[Attack] ClapTrap:\n\t" << _name << " attacks " << target << ", causing " << _attack_damage << " points of damage!" << std::endl;
} }
void ClapTrap::takeDamage(unsigned int amount) { void ClapTrap::takeDamage(unsigned int amount) {