changeset 2520:9f7908a4d8e6

MOVIE_JVC not crash
author Ritor1
date Thu, 09 Oct 2014 22:02:47 +0600
parents b36b858a5175
children b71d0e7837ac
files Engine/MMT.cpp
diffstat 1 files changed, 7 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/Engine/MMT.cpp	Thu Oct 09 16:37:17 2014 +0300
+++ b/Engine/MMT.cpp	Thu Oct 09 22:02:47 2014 +0600
@@ -43,17 +43,15 @@
       pMediaPlayer->PlayFullscreenMovie(MOVIE_NWCLogo, true);
       if ( !pMediaPlayer->bStopBeforeSchedule )
       {
-
-        if (for_refactoring)
+        if ( !pMediaPlayer->bStopBeforeSchedule )
         {
-          MessageBoxA(nullptr, "Ritor1: MOVIE_JVC crash", "", 0);
-          __debugbreak();
+          pMediaPlayer->PlayFullscreenMovie(MOVIE_JVC, true);
+          if ( !pMediaPlayer->bStopBeforeSchedule )
+          {
+            if (!use_MMT)
+              pMediaPlayer->PlayFullscreenMovie(MOVIE_Intro, true);
+          }
         }
-
-        //pMediaPlayer->PlayFullscreenMovie(MOVIE_JVC, true);
-        //if ( !pMediaPlayer->bStopBeforeSchedule )
-        if (!use_MMT)
-          pMediaPlayer->PlayFullscreenMovie(MOVIE_Intro, true);
       }
     }
   }