From: <hik...@us...> - 2010-12-13 11:50:48
|
Revision: 6999 http://supertuxkart.svn.sourceforge.net/supertuxkart/?rev=6999&view=rev Author: hikerstk Date: 2010-12-13 11:50:42 +0000 (Mon, 13 Dec 2010) Log Message: ----------- Removed display of highest speed when wheels are not on ground. Modified Paths: -------------- main/trunk/src/states_screens/race_gui.cpp Modified: main/trunk/src/states_screens/race_gui.cpp =================================================================== --- main/trunk/src/states_screens/race_gui.cpp 2010-12-13 11:46:42 UTC (rev 6998) +++ main/trunk/src/states_screens/race_gui.cpp 2010-12-13 11:50:42 UTC (rev 6999) @@ -830,7 +830,7 @@ // Draw the actual speed bar (if the speed is >0) // ---------------------------------------------- float speed_ratio = speed/KILOMETERS_PER_HOUR/110.0f; - if(speed_ratio>1 || !kart->isOnGround()) speed_ratio = 1; + if(speed_ratio>1) speed_ratio = 1; video::ITexture *bar_texture = m_speed_bar_icon->getTexture(); core::dimension2du bar_size = bar_texture->getOriginalSize(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |