Changed toasty logic to trigger multiple times without requiring a W3.

This commit is contained in:
Kyzentun
2015-04-17 16:26:39 -06:00
parent fc6ce722ca
commit c50b12b8c6
2 changed files with 23 additions and 17 deletions
+4 -3
View File
@@ -2874,10 +2874,11 @@ void ScreenGameplay::HandleScreenMessage( const ScreenMessage SM )
}
else if( SM == SM_PlayToasty )
{
// todo: make multiple toasties work -aj
if( g_bEasterEggs )
if( !m_Toasty.IsTransitioning() && !m_Toasty.IsFinished() ) // don't play if we've already played it once
m_Toasty.StartTransitioning();
{
m_Toasty.Reset();
m_Toasty.StartTransitioning();
}
}
else if( ScreenMessageHelpers::ScreenMessageToString(SM).find("0Combo") != string::npos )
{