Always return a value

This commit is contained in:
Erik Hofman
2016-10-04 09:08:43 +02:00
parent b9deebb59d
commit a97c145f56
+1 -2
View File
@@ -763,9 +763,8 @@ bool SGSoundMgr::is_sample_stopped(SGSoundSample *sample)
alGetSourcei( source, AL_SOURCE_STATE, &result ); alGetSourcei( source, AL_SOURCE_STATE, &result );
return (result == AL_STOPPED); return (result == AL_STOPPED);
} }
#else
return true;
#endif #endif
return true;
} }
void SGSoundMgr::update_sample_config( SGSoundSample *sample, SGVec3d& position, SGVec3f& orientation, SGVec3f& velocity ) void SGSoundMgr::update_sample_config( SGSoundSample *sample, SGVec3d& position, SGVec3f& orientation, SGVec3f& velocity )