3D Audio GSoC:
[blender.git] / intern / audaspace / OpenAL / AUD_OpenALDevice.cpp
index c36f29aa179b5f683ff4ba6d77a93c3c8e3f9bb9..3b306d89d7b7d3dd063021061378d88e99dec8f8 100644 (file)
@@ -492,10 +492,10 @@ bool AUD_OpenALDevice::AUD_OpenALHandle::setSourceOrientation(const AUD_Quaterni
 
 bool AUD_OpenALDevice::AUD_OpenALHandle::isRelative()
 {
-       int result = std::numeric_limits<float>::quiet_NaN();
+       int result;
 
        if(!m_status)
-               return result;
+               return false;
 
        m_device->lock();