-moved screen clearing to a safer place, should have tested it

harder before commiting :P
This commit is contained in:
fix94.1 2012-05-20 17:09:26 +00:00
parent 4c4224c49d
commit 8ad310f4dc

View File

@ -494,7 +494,6 @@ void CVideo::_showWaitMessages(CVideo *m)
vector<STexture>::iterator waitItr = m->m_waitMessages.begin();
gprintf("Going to show a wait message screen, delay: %d, # images: %d\n", waitFrames, m->m_waitMessages.size());
m->_clearScreen();
m->waitMessage(*waitItr);
waitItr += PNGfadeDirection;
@ -599,6 +598,7 @@ void CVideo::waitMessage(const vector<STexture> &tex, float delay, bool useWiiLi
m_waitMessages = tex;
m_waitMessageDelay = delay;
}
_clearScreen();
if (m_waitMessages.size() == 1)
waitMessage(m_waitMessages[0]);