mirror of
https://github.com/AxioDL/amuse.git
synced 2025-12-08 21:17:49 +00:00
Windows build fixes and warning avoidance
This commit is contained in:
@@ -174,7 +174,7 @@ void Sequencer::advance(double dt)
|
||||
float vol;
|
||||
if (m_curVol < m_volFadeTarget)
|
||||
vol = std::min(m_volFadeTarget, m_curVol + step);
|
||||
else if (m_curVol >= m_volFadeTarget)
|
||||
else
|
||||
vol = std::max(m_volFadeTarget, m_curVol - step);
|
||||
if (vol == m_volFadeTarget)
|
||||
m_volFadeTime = 0.f;
|
||||
|
||||
Reference in New Issue
Block a user