mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 23:02:08 +00:00
- Fixed: The aspectratio SBarInfo command never ticked its contents.
SVN r2842 (trunk)
This commit is contained in:
parent
385cfc5698
commit
1e83634089
1 changed files with 2 additions and 0 deletions
|
@ -1565,6 +1565,8 @@ class CommandAspectRatio : public SBarInfoCommandFlowControl
|
||||||
}
|
}
|
||||||
void Tick(const SBarInfoMainBlock *block, const DSBarInfo *statusBar, bool hudChanged)
|
void Tick(const SBarInfoMainBlock *block, const DSBarInfo *statusBar, bool hudChanged)
|
||||||
{
|
{
|
||||||
|
SBarInfoCommandFlowControl::Tick(block, statusBar, hudChanged);
|
||||||
|
|
||||||
SetTruth(CheckRatio(screen->GetWidth(), screen->GetHeight()) == ratio, block, statusBar);
|
SetTruth(CheckRatio(screen->GetWidth(), screen->GetHeight()) == ratio, block, statusBar);
|
||||||
}
|
}
|
||||||
protected:
|
protected:
|
||||||
|
|
Loading…
Reference in a new issue