aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/titanic/debugger.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/titanic/debugger.cpp b/engines/titanic/debugger.cpp
index a8b580b636..5119f23c94 100644
--- a/engines/titanic/debugger.cpp
+++ b/engines/titanic/debugger.cpp
@@ -312,7 +312,7 @@ bool Debugger::cmdMovie(int argc, const char **argv) {
tester->playMovie(MOVIE_STOP_PREVIOUS);
} else {
uint startFrame = strToInt(argv[2]);
- uint endFrame = strToInt(argv[2]);
+ uint endFrame = (argc == 3) ? startFrame : strToInt(argv[3]);
tester->playMovie(startFrame, endFrame, MOVIE_STOP_PREVIOUS);
}