diff options
author | Travis Howell | 2009-04-22 10:19:10 +0000 |
---|---|---|
committer | Travis Howell | 2009-04-22 10:19:10 +0000 |
commit | d6247fa0e00aa2027c2f03b9863989144a20507b (patch) | |
tree | 407756d549f3a8b197486abfa71ded1f449e2679 /engines/agos/event.cpp | |
parent | ad1f7385df43929f4ea0a2610ae4525aa9d62600 (diff) | |
download | scummvm-rg350-d6247fa0e00aa2027c2f03b9863989144a20507b.tar.gz scummvm-rg350-d6247fa0e00aa2027c2f03b9863989144a20507b.tar.bz2 scummvm-rg350-d6247fa0e00aa2027c2f03b9863989144a20507b.zip |
Fix crash that occurs when OmniTV video is played completely, in The Feeble Files.
svn-id: r40063
Diffstat (limited to 'engines/agos/event.cpp')
-rw-r--r-- | engines/agos/event.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/agos/event.cpp b/engines/agos/event.cpp index 4836ac8035..06322bfe07 100644 --- a/engines/agos/event.cpp +++ b/engines/agos/event.cpp @@ -583,9 +583,10 @@ void AGOSEngine_Feeble::timerProc() { } } - if (getGameType() == GType_FF && _moviePlayer) { + if (getGameType() == GType_FF && _omniTV) { // Controls Omni TV videos if (getBitFlag(42)) { + _omniTV = false; _moviePlayer->stopVideo(); delete _moviePlayer; _moviePlayer = NULL; |