diff options
author | Paul Gilbert | 2017-09-06 07:50:18 -0400 |
---|---|---|
committer | Paul Gilbert | 2017-09-06 07:50:18 -0400 |
commit | b5408d72459905ab7684f40b179c507f9e86fe9c (patch) | |
tree | e54f70b5f12d37da008d3b0d6ade3f8becbbf23d /engines | |
parent | aa3adfb4b12bcfac20aa3caf2d424a3d9e3e24fc (diff) | |
download | scummvm-rg350-b5408d72459905ab7684f40b179c507f9e86fe9c.tar.gz scummvm-rg350-b5408d72459905ab7684f40b179c507f9e86fe9c.tar.bz2 scummvm-rg350-b5408d72459905ab7684f40b179c507f9e86fe9c.zip |
TITANIC: Fix specifying end frame in movie debugger command
Diffstat (limited to 'engines')
-rw-r--r-- | engines/titanic/debugger.cpp | 2 |
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); } |