CHudBossEnergyInterface: Initialize x0_alpha on construction

Provides a deterministic initial state which is helpful for debugging.
This commit is contained in:
Lioncash 2020-04-13 15:00:42 -04:00
parent 67786721ff
commit 6806d4914c
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ class CGuiTextPane;
class CGuiWidget; class CGuiWidget;
class CHudBossEnergyInterface { class CHudBossEnergyInterface {
float x0_alpha; float x0_alpha = 0.f;
float x4_fader = 0.f; float x4_fader = 0.f;
float x8_curEnergy = 0.f; float x8_curEnergy = 0.f;
float xc_maxEnergy = 0.f; float xc_maxEnergy = 0.f;