Merge branch 'SQC-15_online' of https://github.com/CegepSTH/SQCSim2023 into SQC-15_online

This commit is contained in:
Claudel-D-Roy 2023-12-13 13:18:28 -05:00
commit d3c6353f17

View File

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