This commit is contained in:
MarcEricMartel
2023-12-06 13:42:15 -05:00
parent 1762043757
commit c47b36726b
3 changed files with 16 additions and 10 deletions

View File

@@ -284,6 +284,9 @@ bool Player::AmIDead()
void Player::InflictDamage(float hitPoints) {
m_hp -= hitPoints;
if (m_hp < 0)
m_hp == 0;
//if (AmIDead())
//{ // Quand le joueur est mort.
//}