aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/he/script_v90he.cpp
diff options
context:
space:
mode:
authorMatthew Hoops2011-07-02 14:55:36 -0400
committerMatthew Hoops2011-07-02 14:55:36 -0400
commit666d3815ec39db7116f8140a8e470565238636f3 (patch)
treeb126a5ae0f974ff64666f92b34666cba9664dff5 /engines/scumm/he/script_v90he.cpp
parentf7efd3fe2a881c13b7b625ebf3c75a7639d0f582 (diff)
downloadscummvm-rg350-666d3815ec39db7116f8140a8e470565238636f3.tar.gz
scummvm-rg350-666d3815ec39db7116f8140a8e470565238636f3.tar.bz2
scummvm-rg350-666d3815ec39db7116f8140a8e470565238636f3.zip
SCUMM: Don't have MoviePlayer inherit from SmackerDecoder
Diffstat (limited to 'engines/scumm/he/script_v90he.cpp')
-rw-r--r--engines/scumm/he/script_v90he.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/scumm/he/script_v90he.cpp b/engines/scumm/he/script_v90he.cpp
index 6b632d8ff2..66a0a34d16 100644
--- a/engines/scumm/he/script_v90he.cpp
+++ b/engines/scumm/he/script_v90he.cpp
@@ -1460,7 +1460,7 @@ void ScummEngine_v90he::o90_getVideoData() {
break;
case 52: // Get current frame
pop();
- push(_moviePlay->endOfVideo() ? -1 : (_moviePlay->getCurFrame() + 1));
+ push(_moviePlay->getCurFrame());
break;
case 63: // Get image number
pop();