Fix potential casting warnings inside AudioLib

This commit is contained in:
sndth
2025-09-01 17:28:25 +02:00
parent 8c349d4a0f
commit 99f04c27d4
3 changed files with 11 additions and 11 deletions

View File

@@ -87,10 +87,10 @@ private:
// One song at a time, but holding both current and previous for graceful fading
std::array<MaSoundInstance, 2> m_Music;
int m_CurrentMusicIndex{};
float m_MusicVolume{ 1.0 };
float m_SoundVolume{ 1.0 };
float m_MusicVolume{ 1.0f };
float m_SoundVolume{ 1.0f };
float m_MasterVolume{ 1.0 };
float m_MasterVolume{ 1.0f };
float m_MasterVolumeFadeTarget{};
float m_MasterVolumeFadeRatePerFrame{};
};