- Fixed: The aspectratio SBarInfo command never ticked its contents.

SVN r2842 (trunk)
This commit is contained in:
Braden Obrzut 2010-09-21 20:07:03 +00:00
parent 385cfc5698
commit 1e83634089

View file

@ -1565,6 +1565,8 @@ class CommandAspectRatio : public SBarInfoCommandFlowControl
}
void Tick(const SBarInfoMainBlock *block, const DSBarInfo *statusBar, bool hudChanged)
{
SBarInfoCommandFlowControl::Tick(block, statusBar, hudChanged);
SetTruth(CheckRatio(screen->GetWidth(), screen->GetHeight()) == ratio, block, statusBar);
}
protected: