From 8ad310f4dc3ea71388b702b52e0dca42ec931088 Mon Sep 17 00:00:00 2001 From: "fix94.1" Date: Sun, 20 May 2012 17:09:26 +0000 Subject: [PATCH] -moved screen clearing to a safer place, should have tested it harder before commiting :P --- source/gui/video.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/gui/video.cpp b/source/gui/video.cpp index 963d0cd5..5d1596c2 100644 --- a/source/gui/video.cpp +++ b/source/gui/video.cpp @@ -494,7 +494,6 @@ void CVideo::_showWaitMessages(CVideo *m) vector::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,7 +598,8 @@ void CVideo::waitMessage(const vector &tex, float delay, bool useWiiLi m_waitMessages = tex; m_waitMessageDelay = delay; } - + _clearScreen(); + if (m_waitMessages.size() == 1) waitMessage(m_waitMessages[0]); else if (m_waitMessages.size() > 1)