diff options
author | Retro-Junk | 2016-09-24 13:08:39 +0300 |
---|---|---|
committer | Eugene Sandulenko | 2016-09-24 17:32:20 +0200 |
commit | fb66de5bb97baedb9f4780a680c2da0b03d529d7 (patch) | |
tree | fe829439ab4933bd8faf852e3bd1e4c49c9ac71e /engines | |
parent | c070d109ee5979b45c89930a32fbed37f6fcabc5 (diff) | |
download | scummvm-rg350-fb66de5bb97baedb9f4780a680c2da0b03d529d7.tar.gz scummvm-rg350-fb66de5bb97baedb9f4780a680c2da0b03d529d7.tar.bz2 scummvm-rg350-fb66de5bb97baedb9f4780a680c2da0b03d529d7.zip |
FULLPIPE: Fix Movement::calcDuration
Diffstat (limited to 'engines')
-rw-r--r-- | engines/fullpipe/statics.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/fullpipe/statics.cpp b/engines/fullpipe/statics.cpp index 79432d440a..404a8edecc 100644 --- a/engines/fullpipe/statics.cpp +++ b/engines/fullpipe/statics.cpp @@ -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; |