mirror of
https://github.com/AxioDL/boo.git
synced 2025-07-03 03:35:52 +00:00
Remove unnecessary conditional
This commit is contained in:
parent
53f4e32c46
commit
0a049645d8
@ -53,7 +53,6 @@ public:
|
||||
m_curSlewFrame = 0;
|
||||
for (int i=0 ; i<8 ; ++i)
|
||||
{
|
||||
if (m_curSlewFrame == m_slewFrames)
|
||||
m_oldCoefs[i] = m_coefs[i];
|
||||
m_coefs[i] = coefs[i];
|
||||
}
|
||||
@ -82,12 +81,9 @@ public:
|
||||
m_slewFrames = slewFrames;
|
||||
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_coefs[i][0] = coefs[i][0];
|
||||
m_coefs[i][1] = coefs[i][1];
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user