diff options
author | Alyssa Milburn | 2011-01-14 16:07:46 +0000 |
---|---|---|
committer | Alyssa Milburn | 2011-01-14 16:07:46 +0000 |
commit | 311c643c1e01982bbdd7dd0716ddfc61a3f153ce (patch) | |
tree | f4287a9687a8022d16498e54ad593d55fb0fa875 | |
parent | a191190cf21ed623d660c70fe3464c74d87b351a (diff) | |
download | scummvm-rg350-311c643c1e01982bbdd7dd0716ddfc61a3f153ce.tar.gz scummvm-rg350-311c643c1e01982bbdd7dd0716ddfc61a3f153ce.tar.bz2 scummvm-rg350-311c643c1e01982bbdd7dd0716ddfc61a3f153ce.zip |
MOHAWK: Don't delete the wrong video.
svn-id: r55241
-rw-r--r-- | engines/mohawk/video.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mohawk/video.cpp b/engines/mohawk/video.cpp index 6abc817128..55f087e568 100644 --- a/engines/mohawk/video.cpp +++ b/engines/mohawk/video.cpp @@ -325,7 +325,7 @@ void VideoManager::stopMovie(uint16 id) { if (_mlstRecords[i].code == id) for (uint16 j = 0; j < _videoStreams.size(); j++) if (_mlstRecords[i].movieID == _videoStreams[j].id) { - delete _videoStreams[i].video; + delete _videoStreams[j].video; _videoStreams[j].clear(); return; } |