mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-20 00:41:12 +00:00
FULLPIPE: Fix Movement::calcDuration
This commit is contained in:
parent
c070d109ee
commit
fb66de5bb9
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user