:>
This commit is contained in:
@@ -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.
|
||||
//}
|
||||
|
Reference in New Issue
Block a user