fix skip on page change

This commit is contained in:
Chris Danford
2005-02-28 07:17:10 +00:00
parent 8f229918ee
commit faa11c580b
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -66,12 +66,12 @@ public:
// Lua
void PushSelf( lua_State *L );
public:
//
// in draw order first to last
//
Actor *m_pSharedBGA; // BGA object that's persistent between screens
void PlaySharedBackgroundOffCommand();
void ZeroNextUpdate() { m_bZeroNextUpdate = true; }
private:
vector<Screen*> m_ScreenStack; // bottommost to topmost
vector<Screen*> m_OverlayScreens;
+4
View File
@@ -408,6 +408,10 @@ void ScreenRanking::HandleScreenMessage( const ScreenMessage SM )
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 bBannerFrame = false;
bool bShowCategory = false;