fix skip on page change
This commit is contained in:
@@ -66,12 +66,12 @@ public:
|
|||||||
// Lua
|
// Lua
|
||||||
void PushSelf( lua_State *L );
|
void PushSelf( lua_State *L );
|
||||||
|
|
||||||
public:
|
|
||||||
//
|
//
|
||||||
// in draw order first to last
|
// in draw order first to last
|
||||||
//
|
//
|
||||||
Actor *m_pSharedBGA; // BGA object that's persistent between screens
|
Actor *m_pSharedBGA; // BGA object that's persistent between screens
|
||||||
void PlaySharedBackgroundOffCommand();
|
void PlaySharedBackgroundOffCommand();
|
||||||
|
void ZeroNextUpdate() { m_bZeroNextUpdate = true; }
|
||||||
private:
|
private:
|
||||||
vector<Screen*> m_ScreenStack; // bottommost to topmost
|
vector<Screen*> m_ScreenStack; // bottommost to topmost
|
||||||
vector<Screen*> m_OverlayScreens;
|
vector<Screen*> m_OverlayScreens;
|
||||||
|
|||||||
@@ -408,6 +408,10 @@ void ScreenRanking::HandleScreenMessage( const ScreenMessage SM )
|
|||||||
|
|
||||||
float ScreenRanking::SetPage( PageToShow pts )
|
float ScreenRanking::SetPage( PageToShow pts )
|
||||||
{
|
{
|
||||||
|
// This is going to take a while to load. Possibly longer than one frame.
|
||||||
|
// So, zero the next update so we don't skip.
|
||||||
|
SCREENMAN->ZeroNextUpdate();
|
||||||
|
|
||||||
bool bBanner = false;
|
bool bBanner = false;
|
||||||
bool bBannerFrame = false;
|
bool bBannerFrame = false;
|
||||||
bool bShowCategory = false;
|
bool bShowCategory = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user