mirror of
https://github.com/ZDoom/qzdoom.git
synced 2025-01-18 15:11:46 +00:00
- fixed a problems with BeginHUD clobbering gST_Y.
The code involved is a total mess and needs some cleanup.
This commit is contained in:
parent
e8ba1156af
commit
cd94d0927a
1 changed files with 1 additions and 1 deletions
|
@ -510,7 +510,7 @@ DEFINE_ACTION_FUNCTION(DBaseStatusBar, BeginStatusBar)
|
|||
|
||||
void DBaseStatusBar::BeginHUD(int resW, int resH, double Alpha, bool forcescaled)
|
||||
{
|
||||
SetSize(0, resW, resH); // this intentionally resets the relative top to force the caller to go through BeginStatusBar and not just reset some variables.
|
||||
SetSize(RelTop, resW, resH);
|
||||
this->Alpha = Alpha;
|
||||
ForcedScale = forcescaled;
|
||||
CompleteBorder = false;
|
||||
|
|
Loading…
Reference in a new issue