Sigh. Yet Another VS Workaround.

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13620 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
curaga
2013-09-03 08:28:44 +00:00
parent 47b8cdf35b
commit cb9017d5e8

View File

@@ -121,7 +121,7 @@ bool SFXOpenAL::init()
*/
void SFXOpenAL::speed(float factor)
{
if(!m_ok || !isnormal(factor)) return;
if(!m_ok || isnan(factor)) return;
//OpenAL only accepts pitches in the range of 0.5 to 2.0
if(factor > 2.0f)