forked from metin-server/m2dev-client-src
Audio Engine volume bug & small update
Fixed a bug where the volume change would be ignored if the sound was fading Added SoundEngine::GetMusicVolume Removed volume factor Removed unused SetListenerVelocity
This commit is contained in:
@@ -36,7 +36,7 @@ PyObject* sndFadeInMusic(PyObject* poSelf, PyObject* poArgs)
|
||||
if (!PyTuple_GetString(poArgs, 0, &szFileName))
|
||||
return Py_BuildException();
|
||||
|
||||
SoundEngine::Instance().FadeInMusic(szFileName);
|
||||
SoundEngine::Instance().FadeInMusic(szFileName, SoundEngine::Instance().GetMusicVolume());
|
||||
return Py_BuildNone();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user