This commit is contained in:
MarcEricMartel 2023-12-13 13:13:34 -05:00
parent a6b6ac870a
commit 64655856e9

View File

@ -379,7 +379,7 @@ void Engine::DisplayHud(int timer) {
// HP Bar // HP Bar
float playerHp = m_player.GetHP(); float playerHp = m_player.GetHP();
if (playerHp < 0.) if (playerHp < 0.)
playerHp == 0; playerHp = 0;
float facteurOmbrage = m_displayInfo ? 0.5f : 1.0f; float facteurOmbrage = m_displayInfo ? 0.5f : 1.0f;
float hpBarWidthProportion = 0.25f; float hpBarWidthProportion = 0.25f;