From: <au...@us...> - 2012-07-28 00:29:52
|
Revision: 11448 http://supertuxkart.svn.sourceforge.net/supertuxkart/?rev=11448&view=rev Author: auria Date: 2012-07-28 00:29:45 +0000 (Sat, 28 Jul 2012) Log Message: ----------- Fix pressing on escape multiple times resetting the fadeout in cutscene Modified Paths: -------------- main/trunk/src/modes/cutscene_world.hpp Modified: main/trunk/src/modes/cutscene_world.hpp =================================================================== --- main/trunk/src/modes/cutscene_world.hpp 2012-07-28 00:18:41 UTC (rev 11447) +++ main/trunk/src/modes/cutscene_world.hpp 2012-07-28 00:29:45 UTC (rev 11448) @@ -44,7 +44,7 @@ void abortCutscene() { - m_duration = m_time + 2.0f; + if (m_time < m_duration - 2.0f) m_duration = m_time + 2.0f; } public: This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |