mirror of https://github.com/AxioDL/boo.git
Remove unnecessary conditional
This commit is contained in:
parent
53f4e32c46
commit
0a049645d8
|
@ -53,8 +53,7 @@ public:
|
|||
m_curSlewFrame = 0;
|
||||
for (int i=0 ; i<8 ; ++i)
|
||||
{
|
||||
if (m_curSlewFrame == m_slewFrames)
|
||||
m_oldCoefs[i] = m_coefs[i];
|
||||
m_oldCoefs[i] = m_coefs[i];
|
||||
m_coefs[i] = coefs[i];
|
||||
}
|
||||
}
|
||||
|
@ -83,11 +82,8 @@ public:
|
|||
m_curSlewFrame = 0;
|
||||
for (int i=0 ; i<8 ; ++i)
|
||||
{
|
||||
if (m_curSlewFrame == m_slewFrames)
|
||||
{
|
||||
m_oldCoefs[i][0] = m_coefs[i][0];
|
||||
m_oldCoefs[i][1] = m_coefs[i][1];
|
||||
}
|
||||
m_oldCoefs[i][0] = m_coefs[i][0];
|
||||
m_oldCoefs[i][1] = m_coefs[i][1];
|
||||
m_coefs[i][0] = coefs[i][0];
|
||||
m_coefs[i][1] = coefs[i][1];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue