FULLPIPE: Fix Movement::calcDuration

This commit is contained in:
Retro-Junk 2016-09-24 13:08:39 +03:00 committed by Eugene Sandulenko
parent c070d109ee
commit fb66de5bb9

View File

@ -1893,11 +1893,11 @@ int Movement::calcDuration() {
if (_currMovement)
for (uint i = 0; i < _currMovement->_dynamicPhases.size(); i++) {
res += _currMovement->_dynamicPhases[i]->_initialCountdown;
res += _currMovement->_dynamicPhases[i]->_initialCountdown + 1;
}
else
for (uint i = 0; i < _dynamicPhases.size(); i++) {
res += _dynamicPhases[i]->_initialCountdown;
res += _dynamicPhases[i]->_initialCountdown + 1;
}
return res;