aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/myst_stacks
diff options
context:
space:
mode:
authorMatthew Hoops2012-05-12 21:28:13 -0400
committerMatthew Hoops2012-05-12 21:28:13 -0400
commit9e330174c8b8a0d2574746f1bc055423be263311 (patch)
treee8a0ebc760aa4006642e5deb631829796ca815ba /engines/mohawk/myst_stacks
parent0f6059580e9e4eedbc66460da0e8ef4c56c830dc (diff)
downloadscummvm-rg350-9e330174c8b8a0d2574746f1bc055423be263311.tar.gz
scummvm-rg350-9e330174c8b8a0d2574746f1bc055423be263311.tar.bz2
scummvm-rg350-9e330174c8b8a0d2574746f1bc055423be263311.zip
VIDEO: Change getElapsedTime() into getTime()
This name change accompanies a slight meaning change; now it means the current time position from the beginning of the video and not from starting the video.
Diffstat (limited to 'engines/mohawk/myst_stacks')
-rw-r--r--engines/mohawk/myst_stacks/dni.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mohawk/myst_stacks/dni.cpp b/engines/mohawk/myst_stacks/dni.cpp
index 2ced265f02..cae165ccf0 100644
--- a/engines/mohawk/myst_stacks/dni.cpp
+++ b/engines/mohawk/myst_stacks/dni.cpp
@@ -103,7 +103,7 @@ void Dni::o_handPage(uint16 op, uint16 var, uint16 argc, uint16 *argv) {
VideoHandle atrus = _vm->_video->findVideoHandle(_video);
// Good ending and Atrus asked to give page
- if (_globals.ending == 1 && _vm->_video->getElapsedTime(atrus) > (uint)Audio::Timestamp(0, 6801, 600).msecs()) {
+ if (_globals.ending == 1 && _vm->_video->getTime(atrus) > (uint)Audio::Timestamp(0, 6801, 600).msecs()) {
_globals.ending = 2;
_globals.heldPage = 0;
_vm->setMainCursor(kDefaultMystCursor);