forked from Mirrors/openclonk
Removed overlooked Tube-Updates
parent
b52dafc7b2
commit
12ffe6ab9c
|
@ -41,7 +41,6 @@ protected func Recruitment(int plr)
|
||||||
HUDcontroller = CreateObject(GUI_Controller, 10, 10, plr);
|
HUDcontroller = CreateObject(GUI_Controller, 10, 10, plr);
|
||||||
|
|
||||||
HUDcontroller->ScheduleUpdateBackpack();
|
HUDcontroller->ScheduleUpdateBackpack();
|
||||||
HUDcontroller->UpdateHealthTube();
|
|
||||||
|
|
||||||
return _inherited(plr, ...);
|
return _inherited(plr, ...);
|
||||||
}
|
}
|
||||||
|
@ -62,24 +61,18 @@ protected func OnPromotion()
|
||||||
|
|
||||||
protected func OnEnergyChange()
|
protected func OnEnergyChange()
|
||||||
{
|
{
|
||||||
if (HUDcontroller)
|
|
||||||
HUDcontroller->UpdateHealthTube();
|
|
||||||
if (HUDselector)
|
if (HUDselector)
|
||||||
HUDselector->UpdateHealthBar();
|
HUDselector->UpdateHealthBar();
|
||||||
return _inherited(...);
|
return _inherited(...);
|
||||||
|
|
||||||
}
|
}
|
||||||
protected func OnBreathChange() {
|
protected func OnBreathChange() {
|
||||||
if (HUDcontroller)
|
|
||||||
HUDcontroller->UpdateBreathTube();
|
|
||||||
if (HUDselector)
|
if (HUDselector)
|
||||||
HUDselector->UpdateBreathBar();
|
HUDselector->UpdateBreathBar();
|
||||||
return _inherited(...);
|
return _inherited(...);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected func OnMagicEnergyChange() {
|
protected func OnMagicEnergyChange() {
|
||||||
if (HUDselector)
|
|
||||||
HUDselector->UpdateMagicBar();
|
|
||||||
return _inherited(...);
|
return _inherited(...);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue